Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.000853/0.000853, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009173/0.0009173, allocations: 177 kB / 23.36 MB, free: 1.129 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 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.344/2.344, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.6e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01355/0.01356, allocations: 18.35 MB / 0.8565 GB, free: 11.75 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.0259, allocations: 9.64 MB / 0.8659 GB, free: 2.086 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.02806, allocations: 198.4 kB / 0.8661 GB, free: 1.891 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.02974, allocations: 0.7832 MB / 0.8669 GB, free: 1.102 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.03386, allocations: 2.601 MB / 0.8694 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.03659, allocations: 1.618 MB / 0.871 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.006429/0.04302, allocations: 7.72 MB / 0.8786 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005466/0.04848, allocations: 4.854 MB / 0.8833 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005417/0.0539, allocations: 4.916 MB / 0.8881 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.05701, allocations: 3.18 MB / 0.8912 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005759/0.05758, allocations: 0.5898 MB / 0.8918 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008843/0.05847, allocations: 0.6833 MB / 0.8924 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.06016, allocations: 2.541 MB / 0.8949 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.06205, allocations: 2.008 MB / 0.8969 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.06556, allocations: 4.834 MB / 0.9016 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.06556, allocations: 4 kB / 0.9016 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.06557, allocations: 0 / 0.9016 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.308e-05/0.06564, allocations: 0 / 0.9016 GB, free: 13.31 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004632/0.07027, allocations: 4.85 MB / 0.9063 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.07031, allocations: 12.62 kB / 0.9064 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.07294, allocations: 1.276 MB / 0.9076 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.07562, allocations: 2.392 MB / 0.9099 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.07576, allocations: 312.8 kB / 0.9102 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.07618, allocations: 436.3 kB / 0.9107 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.07963, allocations: 4.157 MB / 0.9147 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.741e-05/0.07971, allocations: 31.75 kB / 0.9147 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.07998, allocations: 180 kB / 0.9149 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003664/0.08035, allocations: 320.1 kB / 0.9152 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.08208, allocations: 1.122 MB / 0.9163 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.09355, allocations: 15.19 MB / 0.9312 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.09409, allocations: 479.9 kB / 0.9316 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.09452, allocations: 428.2 kB / 0.932 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.09459, allocations: 21.31 kB / 0.932 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.09462, allocations: 51.88 kB / 0.9321 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.09462, allocations: 0 / 0.9321 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=133): time 0.00672/0.1013, allocations: 3.937 MB / 0.9359 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1014, allocations: 64.72 kB / 0.936 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1026, allocations: 1.544 MB / 0.9375 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.1026, allocations: 45.7 kB / 0.9375 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007299/0.1034, allocations: 1.751 MB / 0.9393 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.1036, allocations: 495.7 kB / 0.9397 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.104, allocations: 311.2 kB / 0.94 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.104, allocations: 305.1 kB / 0.9403 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1043, allocations: 211.9 kB / 0.9405 GB, free: 4.211 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.1048, allocations: 0.7642 MB / 0.9413 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.1057, allocations: 1.167 MB / 0.9424 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.1057, allocations: 8 kB / 0.9424 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002132/0.1079, allocations: 1.637 MB / 0.944 GB, free: 116 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1079, allocations: 12 kB / 0.944 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.1079, allocations: 20 kB / 0.944 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.1097, allocations: 0.8363 MB / 0.9449 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.1103, allocations: 319.5 kB / 0.9452 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/0.1176, allocations: 12.52 MB / 0.9574 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007601/0.1183, allocations: 55.98 kB / 0.9574 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.1184, allocations: 64 kB / 0.9575 GB, free: 1.371 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,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.0007924/0.1192, allocations: 236 kB / 0.9577 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.1194, allocations: 191.8 kB / 0.9579 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.1211, allocations: 1.364 MB / 0.9592 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1212, allocations: 20 kB / 0.9593 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1212, allocations: 12 kB / 0.9593 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1212, allocations: 7.969 kB / 0.9593 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.125, allocations: 2.937 MB / 0.9621 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.125, allocations: 4 kB / 0.9621 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.1254, allocations: 147.8 kB / 0.9623 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.1271, allocations: 0.8093 MB / 0.9631 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.1271, allocations: 24 kB / 0.9631 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/0.1342, allocations: 12.52 MB / 0.9753 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1342, allocations: 11.88 kB / 0.9753 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.136, allocations: 1.479 MB / 0.9768 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.1365, allocations: 310.3 kB / 0.9771 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.1366, allocations: 31.98 kB / 0.9771 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.1371, allocations: 31.94 kB / 0.9771 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.1373, allocations: 120.7 kB / 0.9773 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.1373, allocations: 32 kB / 0.9773 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006508/0.138, allocations: 0.774 MB / 0.978 GB, free: 11.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.138, allocations: 0 / 0.978 GB, free: 11.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001767/0.1397, allocations: 0.8477 MB / 0.9789 GB, free: 10.27 MB / 0.948 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001993/0.1399, allocations: 134.1 kB / 0.979 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.142, allocations: 2.273 MB / 0.9812 GB, free: 7.742 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.982e-05/0.142, allocations: 29.81 kB / 0.9812 GB, free: 7.711 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.1434, allocations: 1.789 MB / 0.983 GB, free: 5.805 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.1452, allocations: 0.8791 MB / 0.9839 GB, free: 4.953 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.1528, allocations: 6.671 MB / 0.9904 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/0.1537, allocations: 1.047 MB / 0.9914 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007517/0.1544, allocations: 296.4 kB / 0.9917 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.1556, allocations: 0.6786 MB / 0.9923 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of SimCode: time 1.643e-06/0.1556, allocations: 0 / 0.9923 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of Templates: time 0.05306/0.2086, allocations: 47.7 MB / 1.039 GB, free: 13.55 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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: 6.496733389329165]