Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001359/0.001359, allocations: 109.4 kB / 17.08 MB, free: 5.984 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.001356/0.001357, allocations: 192.7 kB / 20.03 MB, free: 3.059 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.487/1.487, allocations: 222.9 MB / 245.7 MB, free: 4.195 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 3.052/3.052, allocations: 489.2 MB / 0.7687 GB, free: 3.766 MB / 0.6075 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 163.8 MB / 1.263 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008845/1.068, allocations: 6.816 MB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005655/1.073, allocations: 3.069 MB / 1.272 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/1.074, allocations: 28.41 kB / 1.272 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/1.077, allocations: 0.94 MB / 1.273 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/1.078, allocations: 0.5088 MB / 1.274 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/1.08, allocations: 447.9 kB / 1.274 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001843/1.082, allocations: 1.226 MB / 1.275 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.083, allocations: 0.6639 MB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009028/1.084, allocations: 479.4 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/1.085, allocations: 0.5186 MB / 1.277 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/1.085, allocations: 67.28 kB / 1.277 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/1.086, allocations: 378 kB / 1.277 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/1.086, allocations: 310.8 kB / 1.278 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005775/1.087, allocations: 447.5 kB / 1.278 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/1.089, allocations: 1.228 MB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.089, allocations: 3.938 kB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/1.089, allocations: 0 / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.089, allocations: 2.125 kB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002247/1.091, allocations: 1.189 MB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.091, allocations: 13.09 kB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/1.092, allocations: 239.9 kB / 1.281 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.094, allocations: 0.6117 MB / 1.281 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/1.094, allocations: 51.64 kB / 1.281 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.094, allocations: 63.11 kB / 1.281 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.095, allocations: 1.084 MB / 1.282 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.096, allocations: 6.812 kB / 1.282 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/1.096, allocations: 33.73 kB / 1.282 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/1.096, allocations: 89.28 kB / 1.283 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.097, allocations: 0.7494 MB / 1.283 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0065/1.104, allocations: 5.893 MB / 1.289 GB, free: 6.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.105, allocations: 0.552 MB / 1.29 GB, free: 6.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/1.105, allocations: 332.2 kB / 1.29 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/1.105, allocations: 5.344 kB / 1.29 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.105, allocations: 38.2 kB / 1.29 GB, free: 6.531 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/1.105, allocations: 1.219 kB / 1.29 GB, free: 6.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004358/1.11, allocations: 1.998 MB / 1.292 GB, free: 5.469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.11, allocations: 56.41 kB / 1.292 GB, free: 5.406 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/1.111, allocations: 0.5654 MB / 1.292 GB, free: 5.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/1.111, allocations: 36.14 kB / 1.293 GB, free: 5.105 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/1.111, allocations: 423.4 kB / 1.293 GB, free: 4.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/1.111, allocations: 181.1 kB / 1.293 GB, free: 4.629 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.112, allocations: 127.7 kB / 1.293 GB, free: 4.559 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.112, allocations: 379.3 kB / 1.294 GB, free: 4.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/1.112, allocations: 274.2 kB / 1.294 GB, free: 4.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/1.113, allocations: 498 kB / 1.294 GB, free: 3.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.114, allocations: 0.8124 MB / 1.295 GB, free: 3.203 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.114, allocations: 1.469 kB / 1.295 GB, free: 3.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002044/1.116, allocations: 1.095 MB / 1.296 GB, free: 2.727 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/1.116, allocations: 8.594 kB / 1.296 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.116, allocations: 13.17 kB / 1.296 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009136/1.117, allocations: 280.6 kB / 1.296 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/1.118, allocations: 125.4 kB / 1.297 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/1.126, allocations: 7.14 MB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/1.126, allocations: 35.59 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/1.126, allocations: 35.89 kB / 1.304 GB, free: 12.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004806/1.127, allocations: 259.6 kB / 1.304 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.127, allocations: 76.16 kB / 1.304 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/1.129, allocations: 0.8878 MB / 1.305 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.129, allocations: 5.219 kB / 1.305 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.129, allocations: 4.641 kB / 1.305 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.129, allocations: 2.016 kB / 1.305 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/1.132, allocations: 1.715 MB / 1.307 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.132, allocations: 2.141 kB / 1.307 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/1.132, allocations: 71.22 kB / 1.307 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/1.133, allocations: 270.3 kB / 1.307 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/1.133, allocations: 12.84 kB / 1.307 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007587/1.141, allocations: 7.129 MB / 1.314 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.141, allocations: 1.25 kB / 1.314 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.143, allocations: 0.9999 MB / 1.315 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/1.143, allocations: 193.5 kB / 1.315 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/1.143, allocations: 13.28 kB / 1.315 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/1.143, allocations: 33.69 kB / 1.315 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.144, allocations: 45.91 kB / 1.315 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/1.144, allocations: 16.05 kB / 1.315 GB, free: 3.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005809/1.144, allocations: 388.4 kB / 1.315 GB, free: 3.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.144, allocations: 0 / 1.315 GB, free: 3.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009419/1.145, allocations: 225.1 kB / 1.316 GB, free: 3.609 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/1.145, allocations: 114.1 kB / 1.316 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.148, allocations: 1.274 MB / 1.317 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.148, allocations: 0 / 1.317 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.149, allocations: 0.8935 MB / 1.318 GB, free: 2.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.15, allocations: 216.9 kB / 1.318 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.153, allocations: 1.418 MB / 1.319 GB, free: 1.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/1.154, allocations: 1.01 MB / 1.32 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.154, allocations: 45.77 kB / 1.321 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.154, allocations: 1.219 kB / 1.321 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of Templates: time 0.03375/1.187, allocations: 20.91 MB / 1.341 GB, free: 9.852 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 15.04907765518874]