Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0009757/0.0009757, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009946/0.0009946, allocations: 169 kB / 23.02 MB, free: 1.543 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.9049/0.9049, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.078/2.078, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.9844 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.612e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01448/0.01451, allocations: 14.05 MB / 0.8919 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006372/0.02088, allocations: 4.134 MB / 0.8959 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.02214, allocations: 131 kB / 0.8961 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.02325, allocations: 0.5768 MB / 0.8966 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.02572, allocations: 1.715 MB / 0.8983 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.02742, allocations: 1.221 MB / 0.8995 GB, free: 432 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005375/0.03279, allocations: 6.919 MB / 0.9063 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.03639, allocations: 3.63 MB / 0.9098 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.04085, allocations: 4 MB / 0.9137 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.04432, allocations: 3.527 MB / 0.9172 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000732/0.04505, allocations: 0.5273 MB / 0.9177 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.04615, allocations: 0.6754 MB / 0.9183 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.04824, allocations: 2.697 MB / 0.921 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.05001, allocations: 1.782 MB / 0.9227 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.05413, allocations: 4.605 MB / 0.9272 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.05413, allocations: 0 / 0.9272 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.723e-06/0.05414, allocations: 0 / 0.9272 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001283/0.05426, allocations: 0 / 0.9272 GB, free: 3.906 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005197/0.05946, allocations: 4.68 MB / 0.9318 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.0595, allocations: 12.03 kB / 0.9318 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.06457, allocations: 2.225 MB / 0.934 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.06804, allocations: 2.53 MB / 0.9364 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.0682, allocations: 275.7 kB / 0.9367 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000551/0.06875, allocations: 372.2 kB / 0.937 GB, free: 9.711 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006157/0.07491, allocations: 4.124 MB / 0.9411 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/0.07497, allocations: 12.06 kB / 0.9411 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.07525, allocations: 160.3 kB / 0.9412 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/0.07562, allocations: 491.3 kB / 0.9417 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.07873, allocations: 1.594 MB / 0.9433 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.09906, allocations: 21.25 MB / 0.964 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.1004, allocations: 0.7785 MB / 0.9648 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1018, allocations: 0.8304 MB / 0.9656 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.1019, allocations: 25.31 kB / 0.9656 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.102, allocations: 54.69 kB / 0.9657 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=146): time 5.049e-06/0.102, allocations: 0 / 0.9657 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=251): time 0.04308/0.145, allocations: 17.02 MB / 0.9823 GB, free: 10.35 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1451, allocations: 77.41 kB / 0.9824 GB, free: 10.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.1474, allocations: 1.437 MB / 0.9838 GB, free: 8.816 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.1477, allocations: 65.7 kB / 0.9838 GB, free: 8.746 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.1489, allocations: 1.873 MB / 0.9857 GB, free: 6.852 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008614/0.1497, allocations: 0.9102 MB / 0.9865 GB, free: 5.934 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.1508, allocations: 455.9 kB / 0.987 GB, free: 5.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1509, allocations: 484.7 kB / 0.9874 GB, free: 5.004 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.1528, allocations: 0.7274 MB / 0.9882 GB, free: 4.273 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.1555, allocations: 1.572 MB / 0.9897 GB, free: 2.367 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/0.1598, allocations: 2.526 MB / 0.9922 GB, free: 15.51 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.1598, allocations: 4 kB / 0.9922 GB, free: 15.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0173/0.1771, allocations: 8.582 MB / 1.001 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.1772, allocations: 16 kB / 1.001 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1772, allocations: 16 kB / 1.001 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/0.1935, allocations: 6.924 MB / 1.007 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.1943, allocations: 307.4 kB / 1.008 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03225/0.2265, allocations: 25.51 MB / 1.033 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.2285, allocations: 227.7 kB / 1.033 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.2287, allocations: 96 kB / 1.033 GB, free: 5.008 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.2297, allocations: 308 kB / 1.033 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/0.2302, allocations: 322.5 kB / 1.033 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/0.2454, allocations: 8.62 MB / 1.042 GB, free: 11.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.2454, allocations: 24 kB / 1.042 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000121/0.2455, allocations: 44 kB / 1.042 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/0.2455, allocations: 15.89 kB / 1.042 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4449/0.6904, allocations: 12.4 MB / 1.054 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.6904, allocations: 10.47 kB / 1.054 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.691, allocations: 164.5 kB / 1.054 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01667/0.7076, allocations: 6.737 MB / 1.061 GB, free: 167.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005386/0.7082, allocations: 47.06 kB / 1.061 GB, free: 167.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03106/0.7392, allocations: 25.4 MB / 1.086 GB, free: 156.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7392, allocations: 9.938 kB / 1.086 GB, free: 156.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.7567, allocations: 8.558 MB / 1.094 GB, free: 155.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.7583, allocations: 0.708 MB / 1.095 GB, free: 155.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.7586, allocations: 53.97 kB / 1.095 GB, free: 155.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.7599, allocations: 210.7 kB / 1.095 GB, free: 155.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.761, allocations: 253.6 kB / 1.095 GB, free: 155.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.7612, allocations: 70.53 kB / 1.095 GB, free: 155.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001014/0.7622, allocations: 0.8249 MB / 1.096 GB, free: 155.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7622, allocations: 0 / 1.096 GB, free: 155.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004338/0.7665, allocations: 1.616 MB / 1.098 GB, free: 155.5 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.7668, allocations: 164.2 kB / 1.098 GB, free: 155.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.779, allocations: 6.77 MB / 1.104 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.779, allocations: 3.828 kB / 1.104 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0123/0.7913, allocations: 5.568 MB / 1.11 GB, free: 151.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7939, allocations: 0.5516 MB / 1.11 GB, free: 151.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.8071, allocations: 7.508 MB / 1.118 GB, free: 148.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.8092, allocations: 1.296 MB / 1.119 GB, free: 147.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009864/0.8102, allocations: 318.3 kB / 1.119 GB, free: 147.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.8104, allocations: 97.25 kB / 1.119 GB, free: 147.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/0.8104, allocations: 0 / 1.119 GB, free: 147.6 MB / 1.01 GB Notification: Performance of Templates: time 0.0915/0.9019, allocations: 100.2 MB / 1.217 GB, free: 77.09 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.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.246698623988777]