Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0009699/0.0009699, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001327/0.001327, allocations: 181 kB / 23.36 MB, free: 1.133 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.034/1.034, 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.435/2.435, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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.ACLineMatrix_RL,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.621e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01057/0.0106, allocations: 13.06 MB / 0.8514 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005888/0.01649, allocations: 3.972 MB / 0.8553 GB, free: 13.03 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.01708, allocations: 123.1 kB / 0.8554 GB, free: 12.91 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.01795, allocations: 0.5429 MB / 0.8559 GB, free: 12.36 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.0195, allocations: 1.504 MB / 0.8574 GB, free: 10.85 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.02074, allocations: 1.107 MB / 0.8585 GB, free: 9.742 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.02433, allocations: 5.946 MB / 0.8643 GB, free: 3.781 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.02716, allocations: 3.404 MB / 0.8676 GB, free: 284 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.03, allocations: 3.415 MB / 0.8709 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.03245, allocations: 2.802 MB / 0.8737 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.03283, allocations: 456 kB / 0.8741 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.03354, allocations: 0.5934 MB / 0.8747 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.03481, allocations: 2.21 MB / 0.8768 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.03601, allocations: 1.501 MB / 0.8783 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.03874, allocations: 3.88 MB / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.03874, allocations: 0 / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/0.03874, allocations: 0 / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.43e-05/0.03878, allocations: 3.984 kB / 0.8821 GB, free: 1.395 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003263/0.04204, allocations: 3.596 MB / 0.8856 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.04208, allocations: 12.62 kB / 0.8856 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.04498, allocations: 1.097 MB / 0.8867 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.04689, allocations: 1.781 MB / 0.8884 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.04701, allocations: 242.4 kB / 0.8887 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.04737, allocations: 315.9 kB / 0.889 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.05043, allocations: 3.219 MB / 0.8921 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.05049, allocations: 11.88 kB / 0.8921 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.05072, allocations: 143.9 kB / 0.8923 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.05103, allocations: 406.2 kB / 0.8926 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.05261, allocations: 1.205 MB / 0.8938 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.06322, allocations: 14.26 MB / 0.9078 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.06372, allocations: 406 kB / 0.9081 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.06416, allocations: 413 kB / 0.9085 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/0.06424, allocations: 17 kB / 0.9085 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.06426, allocations: 47.5 kB / 0.9086 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 2.604e-06/0.06427, allocations: 0 / 0.9086 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.01017/0.07443, allocations: 5.167 MB / 0.9136 GB, free: 144 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.07447, allocations: 64.41 kB / 0.9137 GB, free: 68 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.07531, allocations: 1.099 MB / 0.9148 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.07538, allocations: 41.7 kB / 0.9148 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.07605, allocations: 1.4 MB / 0.9162 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.07631, allocations: 420.3 kB / 0.9166 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.07663, allocations: 263.3 kB / 0.9168 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.07671, allocations: 305.1 kB / 0.9171 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.07711, allocations: 226.8 kB / 0.9173 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.07764, allocations: 0.7326 MB / 0.9181 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.07866, allocations: 1.148 MB / 0.9192 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.07867, allocations: 4 kB / 0.9192 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003713/0.08238, allocations: 2.146 MB / 0.9213 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.08241, allocations: 12 kB / 0.9213 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.08242, allocations: 16 kB / 0.9213 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/0.08599, allocations: 1.367 MB / 0.9226 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.08655, allocations: 271.5 kB / 0.9229 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.09468, allocations: 6.86 MB / 0.9296 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.0953, allocations: 44 kB / 0.9296 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.09538, allocations: 56 kB / 0.9297 GB, free: 14.85 MB / 0.9011 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 (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(11,13,93.4%), (6,12,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007264/0.09611, allocations: 216.1 kB / 0.9299 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.0963, allocations: 147.8 kB / 0.93 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.09961, allocations: 1.949 MB / 0.9319 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.09962, allocations: 15.98 kB / 0.932 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.09964, allocations: 12 kB / 0.932 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.09965, allocations: 7.984 kB / 0.932 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/0.1052, allocations: 3.286 MB / 0.9352 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1052, allocations: 4 kB / 0.9352 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1056, allocations: 123.8 kB / 0.9353 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/0.109, allocations: 1.345 MB / 0.9366 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.1091, allocations: 20 kB / 0.9366 GB, free: 7.594 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007808/0.1169, allocations: 6.86 MB / 0.9433 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1169, allocations: 4 kB / 0.9433 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.1201, allocations: 2.008 MB / 0.9453 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.1205, allocations: 274.8 kB / 0.9456 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1206, allocations: 28 kB / 0.9456 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.121, allocations: 16 kB / 0.9456 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.1213, allocations: 112.7 kB / 0.9457 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.1213, allocations: 24 kB / 0.9457 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003901/0.1217, allocations: 0.5273 MB / 0.9463 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1217, allocations: 0 / 0.9463 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001539/0.1233, allocations: 0.8008 MB / 0.947 GB, free: 12.58 MB / 0.9167 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.1234, allocations: 116.2 kB / 0.9471 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.1262, allocations: 1.898 MB / 0.949 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.26e-05/0.1262, allocations: 21.81 kB / 0.949 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.1281, allocations: 1.448 MB / 0.9504 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.1291, allocations: 498.2 kB / 0.9509 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/0.1354, allocations: 5.339 MB / 0.9561 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.1362, allocations: 0.8916 MB / 0.957 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.1366, allocations: 181.7 kB / 0.9572 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.1372, allocations: 383.1 kB / 0.9575 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/0.1372, allocations: 0 / 0.9575 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of Templates: time 0.04531/0.1825, allocations: 41.52 MB / 0.9981 GB, free: 8.582 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.870132172014564]