Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001288/0.001288, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001361/0.001361, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.8939/0.8939, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.684/1.684, allocations: 359 MB / 0.6052 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.736e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009055/0.009083, allocations: 6.375 MB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.0137, allocations: 2.069 MB / 0.7954 GB, free: 4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006709/0.01437, allocations: 48.94 kB / 0.7954 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.01525, allocations: 262.2 kB / 0.7957 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009227/0.01617, allocations: 0.6544 MB / 0.7963 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.01698, allocations: 0.5533 MB / 0.7968 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.01927, allocations: 2.743 MB / 0.7995 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.02096, allocations: 1.371 MB / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.02288, allocations: 1.575 MB / 0.8024 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.02416, allocations: 1.423 MB / 0.8038 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.02439, allocations: 216 kB / 0.804 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.02486, allocations: 316.5 kB / 0.8043 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.02551, allocations: 1.064 MB / 0.8053 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.02622, allocations: 0.7217 MB / 0.806 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.02778, allocations: 1.917 MB / 0.8079 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.02779, allocations: 0.7188 kB / 0.8079 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.714e-06/0.02779, allocations: 0 / 0.8079 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.331e-05/0.02782, allocations: 0.5312 kB / 0.8079 GB, free: 7.102 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002373/0.03019, allocations: 2.047 MB / 0.8099 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.03024, allocations: 12.03 kB / 0.8099 GB, free: 5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.03322, allocations: 1.14 MB / 0.811 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.0343, allocations: 1.058 MB / 0.8121 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.03436, allocations: 107.3 kB / 0.8122 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.03455, allocations: 152.3 kB / 0.8123 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.03657, allocations: 1.666 MB / 0.8139 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.0366, allocations: 4.625 kB / 0.8139 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.03673, allocations: 64.95 kB / 0.814 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.03688, allocations: 182.9 kB / 0.8142 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.03822, allocations: 0.7164 MB / 0.8149 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007173/0.04539, allocations: 8.675 MB / 0.8233 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.04619, allocations: 474.2 kB / 0.8238 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.04664, allocations: 347.4 kB / 0.8241 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.04669, allocations: 12.66 kB / 0.8241 GB, free: 6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.04672, allocations: 46.03 kB / 0.8242 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 2.194e-06/0.04672, allocations: 0 / 0.8242 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139): time 0.01087/0.05759, allocations: 5.735 MB / 0.8298 GB, free: 192 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.05764, allocations: 64.72 kB / 0.8298 GB, free: 116 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.05831, allocations: 0.7647 MB / 0.8306 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.05839, allocations: 45.7 kB / 0.8306 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.05876, allocations: 0.8036 MB / 0.8314 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.05909, allocations: 0.523 MB / 0.8319 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.05944, allocations: 289.2 kB / 0.8322 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.0596, allocations: 0.5276 MB / 0.8327 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.06018, allocations: 335.8 kB / 0.833 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.06097, allocations: 0.783 MB / 0.8338 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.06235, allocations: 1.197 MB / 0.835 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.06236, allocations: 0 / 0.835 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004897/0.06725, allocations: 2.846 MB / 0.8378 GB, free: 7.609 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.06728, allocations: 8 kB / 0.8378 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.06729, allocations: 8 kB / 0.8378 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.07169, allocations: 1.861 MB / 0.8396 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.07211, allocations: 195.6 kB / 0.8398 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.08617, allocations: 14.83 MB / 0.8543 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.08677, allocations: 91.89 kB / 0.8543 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.08686, allocations: 56 kB / 0.8544 GB, free: 6.066 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.08726, allocations: 240.3 kB / 0.8546 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.08745, allocations: 155.3 kB / 0.8548 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.0921, allocations: 2.729 MB / 0.8574 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.0921, allocations: 12 kB / 0.8575 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/0.09214, allocations: 24 kB / 0.8575 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.09215, allocations: 11.91 kB / 0.8575 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006869/0.09902, allocations: 4.694 MB / 0.8621 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.09902, allocations: 4 kB / 0.8621 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.09925, allocations: 111.9 kB / 0.8622 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004191/0.1034, allocations: 1.768 MB / 0.8639 GB, free: 12.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.1035, allocations: 24 kB / 0.8639 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.1166, allocations: 13.63 MB / 0.8772 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1166, allocations: 4 kB / 0.8773 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/0.1211, allocations: 2.804 MB / 0.88 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.1215, allocations: 375 kB / 0.8803 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.1217, allocations: 35.94 kB / 0.8804 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.1221, allocations: 75.91 kB / 0.8805 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/0.1225, allocations: 128.9 kB / 0.8806 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.1225, allocations: 36.19 kB / 0.8806 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003932/0.1229, allocations: 470.9 kB / 0.8811 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.1229, allocations: 0 / 0.8811 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001629/0.1246, allocations: 0.7227 MB / 0.8818 GB, free: 9.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.1248, allocations: 143 kB / 0.8819 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.1277, allocations: 2.486 MB / 0.8843 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1278, allocations: 0 / 0.8843 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.1299, allocations: 2.019 MB / 0.8863 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.1306, allocations: 206.2 kB / 0.8865 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.1346, allocations: 3.283 MB / 0.8897 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.1351, allocations: 0.5423 MB / 0.8902 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.1355, allocations: 253.2 kB / 0.8905 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1356, allocations: 56.48 kB / 0.8905 GB, free: 24 kB / 0.8386 GB Notification: Performance of SimCode: time 1.744e-06/0.1356, allocations: 0 / 0.8905 GB, free: 24 kB / 0.8386 GB Notification: Performance of Templates: time 0.03955/0.1752, allocations: 43.45 MB / 0.933 GB, free: 4.82 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.468103453051299]