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.001413/0.001413, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001493/0.001493, allocations: 169.4 kB / 24.06 MB, free: 456 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.9639/0.9639, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.076/2.076, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.543e-06/1.543e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.814e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02145/0.02148, allocations: 18.34 MB / 0.8973 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.03955, allocations: 9.425 MB / 0.9065 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.04356, allocations: 194.4 kB / 0.9067 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.04713, allocations: 0.7832 MB / 0.9075 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.05568, allocations: 2.585 MB / 0.91 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.05896, allocations: 1.591 MB / 0.9116 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007124/0.06609, allocations: 7.7 MB / 0.9191 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004758/0.07084, allocations: 4.577 MB / 0.9236 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.07564, allocations: 4.908 MB / 0.9283 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.07856, allocations: 3.285 MB / 0.9316 GB, free: 352 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0006047/0.07916, allocations: 0.586 MB / 0.9321 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.08001, allocations: 0.691 MB / 0.9328 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.08143, allocations: 2.545 MB / 0.9353 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.08322, allocations: 2.008 MB / 0.9372 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.08654, allocations: 4.834 MB / 0.942 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.08655, allocations: 0 / 0.942 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.08655, allocations: 0 / 0.942 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.264e-05/0.08662, allocations: 0 / 0.942 GB, free: 5.656 MB / 0.9011 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.00499/0.09161, allocations: 5.272 MB / 0.9471 GB, free: 316 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.09165, allocations: 15.97 kB / 0.9471 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.09443, allocations: 1.39 MB / 0.9485 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.09712, allocations: 2.726 MB / 0.9512 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.09727, allocations: 316.8 kB / 0.9515 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.09768, allocations: 436.2 kB / 0.9519 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.1014, allocations: 4.263 MB / 0.956 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.809e-05/0.1015, allocations: 23.78 kB / 0.9561 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/0.1018, allocations: 180 kB / 0.9562 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003847/0.1022, allocations: 320.1 kB / 0.9565 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.104, allocations: 1.285 MB / 0.9578 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.1175, allocations: 19.97 MB / 0.9773 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1181, allocations: 499.1 kB / 0.9778 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.1186, allocations: 479 kB / 0.9782 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.1186, allocations: 21.31 kB / 0.9782 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1187, allocations: 50.7 kB / 0.9783 GB, free: 15.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=130): time 2.655e-06/0.1187, allocations: 0 / 0.9783 GB, free: 15.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=199): time 0.009319/0.128, allocations: 5.678 MB / 0.9838 GB, free: 9.398 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.128, allocations: 69.41 kB / 0.9839 GB, free: 9.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1291, allocations: 1.667 MB / 0.9855 GB, free: 7.617 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.1292, allocations: 57.7 kB / 0.9856 GB, free: 7.555 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.1303, allocations: 2.148 MB / 0.9877 GB, free: 5.387 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.1307, allocations: 0.7282 MB / 0.9884 GB, free: 4.652 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.1312, allocations: 418.2 kB / 0.9888 GB, free: 4.234 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1313, allocations: 480.8 kB / 0.9892 GB, free: 3.762 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.1317, allocations: 388.3 kB / 0.9896 GB, free: 3.379 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/0.1326, allocations: 1.217 MB / 0.9908 GB, free: 1.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.1341, allocations: 1.799 MB / 0.9926 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1341, allocations: 4 kB / 0.9926 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004283/0.1384, allocations: 3.01 MB / 0.9955 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1384, allocations: 12 kB / 0.9955 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1384, allocations: 16 kB / 0.9955 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/0.1424, allocations: 1.692 MB / 0.9972 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.1431, allocations: 339.5 kB / 0.9975 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.1616, allocations: 35.04 MB / 1.032 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.1627, allocations: 71.98 kB / 1.032 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.1628, allocations: 68 kB / 1.032 GB, free: 5.219 MB / 0.9948 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (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,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.0009379/0.1638, allocations: 304.5 kB / 1.032 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.1641, allocations: 338.2 kB / 1.032 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.1678, allocations: 2.642 MB / 1.035 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1678, allocations: 16 kB / 1.035 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.1679, allocations: 20 kB / 1.035 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1679, allocations: 7.969 kB / 1.035 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.1749, allocations: 5.045 MB / 1.04 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1749, allocations: 4 kB / 1.04 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.1753, allocations: 176.6 kB / 1.04 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.1788, allocations: 1.595 MB / 1.042 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.1789, allocations: 40 kB / 1.042 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4668/0.6456, allocations: 34.9 MB / 1.076 GB, free: 143.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6456, allocations: 12.88 kB / 1.076 GB, free: 143.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.6501, allocations: 2.796 MB / 1.079 GB, free: 142.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007671/0.6509, allocations: 472.8 kB / 1.079 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.6512, allocations: 42.84 kB / 1.079 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.652, allocations: 43.78 kB / 1.079 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/0.6525, allocations: 202.9 kB / 1.079 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6526, allocations: 48.86 kB / 1.079 GB, free: 142.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008103/0.6535, allocations: 0.9012 MB / 1.08 GB, free: 142.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6535, allocations: 1.312 kB / 1.08 GB, free: 142.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002828/0.6563, allocations: 1.05 MB / 1.081 GB, free: 142.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 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%), (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.0002142/0.6565, allocations: 156.6 kB / 1.081 GB, free: 142.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003694/0.6602, allocations: 5.193 MB / 1.087 GB, free: 139.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6602, allocations: 2.812 kB / 1.087 GB, free: 139.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.6627, allocations: 4.426 MB / 1.091 GB, free: 135.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6647, allocations: 0.8985 MB / 1.092 GB, free: 135.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.6725, allocations: 7.273 MB / 1.099 GB, free: 132.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009607/0.6734, allocations: 1.163 MB / 1.1 GB, free: 132.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007413/0.6742, allocations: 312.7 kB / 1.1 GB, free: 132.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.6753, allocations: 0.7879 MB / 1.101 GB, free: 132.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.272e-06/0.6753, allocations: 0 / 1.101 GB, free: 132.4 MB / 1.01 GB Notification: Performance of Templates: time 0.07489/0.7502, allocations: 65.74 MB / 1.165 GB, free: 114.5 MB / 1.01 GB " [Timeout remaining time 299] 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: 7.339596113190055]