Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.136 GB, free: 12.39 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 173.7 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01803/1.073, allocations: 21.22 MB / 1.326 GB, free: 19.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01086/1.084, allocations: 6.67 MB / 1.333 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/1.087, allocations: 87.69 kB / 1.333 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005821/1.092, allocations: 2.329 MB / 1.335 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/1.096, allocations: 1.243 MB / 1.336 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.1, allocations: 1.325 MB / 1.338 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00669/1.106, allocations: 4.849 MB / 1.342 GB, free: 9.785 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005698/1.112, allocations: 2.954 MB / 1.345 GB, free: 8.305 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/1.116, allocations: 2.125 MB / 1.347 GB, free: 7.328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/1.121, allocations: 2.474 MB / 1.35 GB, free: 6.309 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001671/1.122, allocations: 430.1 kB / 1.35 GB, free: 6.309 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/1.126, allocations: 1.018 MB / 1.351 GB, free: 6.082 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003407/1.129, allocations: 1.706 MB / 1.353 GB, free: 5.352 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00595/1.135, allocations: 1.912 MB / 1.355 GB, free: 4.125 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/1.149, allocations: 6.542 MB / 1.361 GB, free: 2.047 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.149, allocations: 0 / 1.361 GB, free: 2.047 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.835e-06/1.149, allocations: 2.266 kB / 1.361 GB, free: 2.047 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002633/1.149, allocations: 0 / 1.361 GB, free: 2.047 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01412/1.163, allocations: 3.54 MB / 1.364 GB, free: 15.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.163, allocations: 9.688 kB / 1.364 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/1.168, allocations: 0.6536 MB / 1.365 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/1.173, allocations: 2.058 MB / 1.367 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.173, allocations: 218.8 kB / 1.367 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/1.174, allocations: 296.3 kB / 1.368 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.186, allocations: 4.89 MB / 1.372 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-05/1.186, allocations: 14.28 kB / 1.372 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/1.187, allocations: 125.8 kB / 1.372 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005232/1.187, allocations: 230.9 kB / 1.373 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008492/1.196, allocations: 3.756 MB / 1.376 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/1.229, allocations: 21.43 MB / 1.397 GB, free: 9.426 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.232, allocations: 1.233 MB / 1.399 GB, free: 8.949 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/1.234, allocations: 0.9864 MB / 1.399 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/1.234, allocations: 11.56 kB / 1.399 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.629e-05/1.234, allocations: 53.47 kB / 1.4 GB, free: 8.535 MB / 1.092 GB Notification: Performance of pre-optimization done (n=107): time 4.97e-06/1.234, allocations: 0 / 1.4 GB, free: 8.535 MB / 1.092 GB Notification: Performance of matching and sorting (n=138): time 0.02733/1.261, allocations: 8.661 MB / 1.408 GB, free: 4.402 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.261, allocations: 65.72 kB / 1.408 GB, free: 4.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.263, allocations: 1.125 MB / 1.409 GB, free: 3.723 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/1.264, allocations: 55.52 kB / 1.409 GB, free: 3.668 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.265, allocations: 1.334 MB / 1.411 GB, free: 2.492 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/1.265, allocations: 0.4906 MB / 1.411 GB, free: 2.059 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/1.266, allocations: 295.1 kB / 1.411 GB, free: 1.891 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.266, allocations: 305.1 kB / 1.412 GB, free: 1.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.267, allocations: 0.9143 MB / 1.412 GB, free: 1.109 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.269, allocations: 1.322 MB / 1.414 GB, free: 116 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/1.272, allocations: 2.427 MB / 1.416 GB, free: 14.51 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/1.272, allocations: 3.688 kB / 1.416 GB, free: 14.51 MB / 1.107 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00672/1.279, allocations: 3.439 MB / 1.419 GB, free: 12.64 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.279, allocations: 14.44 kB / 1.419 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.279, allocations: 12.94 kB / 1.42 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/1.283, allocations: 1.178 MB / 1.421 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.284, allocations: 258.8 kB / 1.421 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/1.303, allocations: 13.86 MB / 1.434 GB, free: 1.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.305, allocations: 87.97 kB / 1.435 GB, free: 1.484 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.305, allocations: 67.83 kB / 1.435 GB, free: 1.422 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002588/1.308, allocations: 1.118 MB / 1.436 GB, free: 300 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/1.308, allocations: 167 kB / 1.436 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/1.314, allocations: 3.134 MB / 1.439 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.314, allocations: 12 kB / 1.439 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.314, allocations: 19.94 kB / 1.439 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.314, allocations: 3.984 kB / 1.439 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.326, allocations: 6.206 MB / 1.445 GB, free: 6.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.326, allocations: 8.062 kB / 1.445 GB, free: 6.582 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/1.327, allocations: 151.8 kB / 1.445 GB, free: 6.434 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/1.33, allocations: 1.065 MB / 1.446 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.33, allocations: 32 kB / 1.446 GB, free: 5.332 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.348, allocations: 13.55 MB / 1.459 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.348, allocations: 7.938 kB / 1.459 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/1.353, allocations: 3.12 MB / 1.463 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.354, allocations: 435.9 kB / 1.463 GB, free: 3.707 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/1.355, allocations: 39.88 kB / 1.463 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/1.355, allocations: 79.89 kB / 1.463 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/1.356, allocations: 128.7 kB / 1.463 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.356, allocations: 36 kB / 1.463 GB, free: 3.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001115/1.357, allocations: 0.7671 MB / 1.464 GB, free: 2.66 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.357, allocations: 3.938 kB / 1.464 GB, free: 2.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002333/1.359, allocations: 0.6641 MB / 1.465 GB, free: 1.992 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/1.36, allocations: 139.1 kB / 1.465 GB, free: 1.848 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005086/1.365, allocations: 3.005 MB / 1.468 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.365, allocations: 0 / 1.468 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.368, allocations: 1.885 MB / 1.469 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.37, allocations: 0.4951 MB / 1.47 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.38, allocations: 5.533 MB / 1.475 GB, free: 6.785 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/1.383, allocations: 2.336 MB / 1.478 GB, free: 4.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001193/1.384, allocations: 362 kB / 1.478 GB, free: 4.062 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/1.384, allocations: 87.44 kB / 1.478 GB, free: 3.977 MB / 1.154 GB Notification: Performance of SimCode: time 1.303e-06/1.384, allocations: 0 / 1.478 GB, free: 3.977 MB / 1.154 GB Notification: Performance of Templates: time 0.06128/1.446, allocations: 34.21 MB / 1.512 GB, free: 2.199 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.441048787906766]