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.001037/0.001037, 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.00111/0.00111, allocations: 161 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.9677/0.9677, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.748/1.748, allocations: 359 MB / 0.6052 GB, free: 11 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: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.49e-05, allocations: 3.406 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006392/0.006417, allocations: 6.364 MB / 0.7933 GB, free: 4.973 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.009749, allocations: 2.081 MB / 0.7954 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.01014, allocations: 51.62 kB / 0.7954 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.01079, allocations: 262.8 kB / 0.7957 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.01163, allocations: 0.6438 MB / 0.7963 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.01244, allocations: 0.5571 MB / 0.7968 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.0149, allocations: 2.741 MB / 0.7995 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.0164, allocations: 1.368 MB / 0.8008 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.01816, allocations: 1.576 MB / 0.8024 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.01961, allocations: 1.415 MB / 0.8038 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.01987, allocations: 216 kB / 0.804 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.02037, allocations: 315.8 kB / 0.8043 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000917/0.02129, allocations: 1.068 MB / 0.8053 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006543/0.02194, allocations: 0.7223 MB / 0.806 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.02351, allocations: 1.921 MB / 0.8079 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.02352, allocations: 0 / 0.8079 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.253e-06/0.02352, allocations: 0.8438 kB / 0.8079 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.02354, allocations: 0 / 0.8079 GB, free: 6.004 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002278/0.02582, allocations: 2.062 MB / 0.8099 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.02587, allocations: 10.47 kB / 0.8099 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.02904, allocations: 1.162 MB / 0.8111 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.03053, allocations: 1.071 MB / 0.8121 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.03059, allocations: 107.3 kB / 0.8122 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.03079, allocations: 148.3 kB / 0.8123 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.03288, allocations: 1.666 MB / 0.814 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.03291, allocations: 8.125 kB / 0.814 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.03303, allocations: 64.34 kB / 0.814 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.03318, allocations: 180.3 kB / 0.8142 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.03457, allocations: 0.7184 MB / 0.8149 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007624/0.0422, allocations: 8.666 MB / 0.8234 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.04302, allocations: 485.2 kB / 0.8238 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.0435, allocations: 341.8 kB / 0.8242 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.04355, allocations: 16.66 kB / 0.8242 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.04358, allocations: 46.03 kB / 0.8242 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.04359, allocations: 0 / 0.8242 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139): time 0.01145/0.05504, allocations: 5.724 MB / 0.8298 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.05508, allocations: 72.72 kB / 0.8299 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.05574, allocations: 0.7608 MB / 0.8306 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.05582, allocations: 49.7 kB / 0.8307 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.05619, allocations: 0.8036 MB / 0.8315 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.05649, allocations: 0.5153 MB / 0.832 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.05687, allocations: 289.2 kB / 0.8322 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.05703, allocations: 0.5277 MB / 0.8328 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.05762, allocations: 331.8 kB / 0.8331 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/0.05858, allocations: 0.7869 MB / 0.8338 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.05999, allocations: 1.191 MB / 0.835 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.06, allocations: 4 kB / 0.835 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005132/0.06513, allocations: 2.839 MB / 0.8378 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.06516, allocations: 8 kB / 0.8378 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.06517, allocations: 12.66 kB / 0.8378 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004744/0.06991, allocations: 1.873 MB / 0.8396 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.07037, allocations: 187.7 kB / 0.8398 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.08564, allocations: 14.82 MB / 0.8543 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/0.0865, allocations: 95.89 kB / 0.8544 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.0866, allocations: 59.98 kB / 0.8544 GB, free: 4.93 MB / 0.7605 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.0004759/0.08708, allocations: 236.2 kB / 0.8547 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.08728, allocations: 163.3 kB / 0.8548 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.09226, allocations: 2.733 MB / 0.8575 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.09227, allocations: 12 kB / 0.8575 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/0.09231, allocations: 23.94 kB / 0.8575 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.09232, allocations: 15.89 kB / 0.8575 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007863/0.1002, allocations: 4.687 MB / 0.8621 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1002, allocations: 4 kB / 0.8621 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.1005, allocations: 127.8 kB / 0.8622 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004487/0.1049, allocations: 1.762 MB / 0.8639 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.022e-05/0.105, allocations: 28 kB / 0.864 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.1195, allocations: 13.63 MB / 0.8773 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1195, allocations: 7.984 kB / 0.8773 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.1245, allocations: 2.796 MB / 0.88 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.1252, allocations: 375 kB / 0.8804 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1253, allocations: 24.19 kB / 0.8804 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.1258, allocations: 83.89 kB / 0.8805 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/0.1262, allocations: 129 kB / 0.8806 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.1263, allocations: 40 kB / 0.8806 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004608/0.1268, allocations: 474.9 kB / 0.8811 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.1268, allocations: 0 / 0.8811 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001894/0.1286, allocations: 0.7227 MB / 0.8818 GB, free: 8.117 MB / 0.7917 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.0002272/0.1289, allocations: 135.1 kB / 0.8819 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.1328, allocations: 2.49 MB / 0.8844 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1328, allocations: 0 / 0.8844 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/0.1361, allocations: 2.015 MB / 0.8863 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.1371, allocations: 216.8 kB / 0.8865 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.1427, allocations: 3.267 MB / 0.8897 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.1433, allocations: 0.5384 MB / 0.8903 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005567/0.1439, allocations: 261.2 kB / 0.8905 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.144, allocations: 52.5 kB / 0.8906 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of SimCode: time 2.214e-06/0.144, allocations: 0 / 0.8906 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.05536/0.1994, allocations: 42.84 MB / 0.9324 GB, free: 4.297 MB / 0.8386 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.716660480946302]