Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 173 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.775/1.775, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.554e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006538/0.006564, allocations: 6.921 MB / 0.7938 GB, free: 4.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.01047, allocations: 3.143 MB / 0.7969 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.0109, allocations: 39.62 kB / 0.797 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.01222, allocations: 0.9767 MB / 0.7979 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.01305, allocations: 0.5438 MB / 0.7984 GB, free: 76 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.01377, allocations: 454 kB / 0.7989 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.01462, allocations: 1.26 MB / 0.8001 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.01517, allocations: 0.5333 MB / 0.8006 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.01571, allocations: 0.6714 MB / 0.8013 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.01614, allocations: 482.7 kB / 0.8017 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.0162, allocations: 68 kB / 0.8018 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.01656, allocations: 348.8 kB / 0.8021 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01676, allocations: 335.1 kB / 0.8025 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.0171, allocations: 311.3 kB / 0.8028 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.01778, allocations: 0.872 MB / 0.8036 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01779, allocations: 0 / 0.8036 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.71e-07/0.01779, allocations: 1.344 kB / 0.8036 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.01779, allocations: 3.938 kB / 0.8036 GB, free: 10.77 MB / 0.7136 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.001098/0.01889, allocations: 1.215 MB / 0.8048 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.01893, allocations: 8.031 kB / 0.8048 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/0.01992, allocations: 343.2 kB / 0.8051 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.02049, allocations: 0.5689 MB / 0.8057 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.02052, allocations: 45.69 kB / 0.8057 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.02059, allocations: 72.31 kB / 0.8058 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.02139, allocations: 1.08 MB / 0.8069 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.02141, allocations: 10.94 kB / 0.8069 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.02145, allocations: 24.38 kB / 0.8069 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.94e-05/0.02155, allocations: 89.19 kB / 0.807 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.02202, allocations: 357.3 kB / 0.8073 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.02497, allocations: 5.715 MB / 0.8129 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.02543, allocations: 291.8 kB / 0.8132 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.02561, allocations: 129.1 kB / 0.8133 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.02563, allocations: 9.031 kB / 0.8133 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.02565, allocations: 50.44 kB / 0.8134 GB, free: 320 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/0.02566, allocations: 0.6562 kB / 0.8134 GB, free: 320 kB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001783/0.02744, allocations: 1.083 MB / 0.8144 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.02747, allocations: 55.91 kB / 0.8145 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.02782, allocations: 0.5336 MB / 0.815 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.02784, allocations: 37.7 kB / 0.815 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.02802, allocations: 466.6 kB / 0.8155 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.02811, allocations: 182.4 kB / 0.8156 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.02824, allocations: 132.2 kB / 0.8158 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.02837, allocations: 0.5469 MB / 0.8163 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.02854, allocations: 113.9 kB / 0.8164 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.02896, allocations: 432.6 kB / 0.8168 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.02944, allocations: 0.5858 MB / 0.8174 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02945, allocations: 0 / 0.8174 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008797/0.03033, allocations: 0.7453 MB / 0.8181 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.03034, allocations: 8 kB / 0.8181 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03035, allocations: 8 kB / 0.8181 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.03108, allocations: 306.8 kB / 0.8184 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.03133, allocations: 127.8 kB / 0.8186 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.03496, allocations: 7.598 MB / 0.826 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.0352, allocations: 43.95 kB / 0.826 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.03523, allocations: 36 kB / 0.826 GB, free: 2.434 MB / 0.7292 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.0001498/0.03538, allocations: 200.3 kB / 0.8262 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.03546, allocations: 83.58 kB / 0.8263 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/0.03614, allocations: 0.5494 MB / 0.8269 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.03614, allocations: 7.938 kB / 0.8269 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.03615, allocations: 4 kB / 0.8269 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.03615, allocations: 3.984 kB / 0.8269 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.03732, allocations: 1.158 MB / 0.828 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03732, allocations: 12.12 kB / 0.828 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.03745, allocations: 63.89 kB / 0.8281 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006275/0.03808, allocations: 290.4 kB / 0.8284 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.0381, allocations: 12.06 kB / 0.8284 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.04149, allocations: 7.603 MB / 0.8358 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.0415, allocations: 3.938 kB / 0.8358 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.0422, allocations: 0.7325 MB / 0.8365 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.04233, allocations: 107.5 kB / 0.8366 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.04237, allocations: 12 kB / 0.8366 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.04255, allocations: 23.97 kB / 0.8366 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.04263, allocations: 51.8 kB / 0.8367 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.04265, allocations: 16 kB / 0.8367 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002188/0.04287, allocations: 342.8 kB / 0.837 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.04287, allocations: 0 / 0.837 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006455/0.04351, allocations: 228 kB / 0.8373 GB, free: 6.27 MB / 0.7448 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.000129/0.04364, allocations: 117.2 kB / 0.8374 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.04465, allocations: 1.194 MB / 0.8385 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.04465, allocations: 4.125 kB / 0.8385 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.04526, allocations: 0.9727 MB / 0.8395 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.04584, allocations: 202.7 kB / 0.8397 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.04741, allocations: 1.279 MB / 0.8409 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.04755, allocations: 215.4 kB / 0.8411 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.04776, allocations: 105.5 kB / 0.8412 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.04783, allocations: 40.5 kB / 0.8413 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.04783, allocations: 0 / 0.8413 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.01283/0.06066, allocations: 11.46 MB / 0.8525 GB, free: 6.707 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.121908235130832]