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.001865/0.001865, allocations: 85.48 kB / 19.44 MB, free: 344 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.002041/0.002041, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.352/3.352, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",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.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.544e-05, allocations: 5.125 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03292/0.03295, allocations: 22.57 MB / 0.8995 GB, free: 36 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.04616, allocations: 6.326 MB / 0.9057 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.04793, allocations: 123.1 kB / 0.9058 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004568/0.0525, allocations: 1.605 MB / 0.9074 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.05697, allocations: 1.772 MB / 0.9091 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.06051, allocations: 1.356 MB / 0.9104 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00852/0.06903, allocations: 6.048 MB / 0.9163 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.07522, allocations: 3.209 MB / 0.9195 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006674/0.08189, allocations: 3.461 MB / 0.9228 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005296/0.08719, allocations: 2.88 MB / 0.9257 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.08842, allocations: 460 kB / 0.9261 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.09097, allocations: 1.053 MB / 0.9271 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.09376, allocations: 2.222 MB / 0.9293 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.09635, allocations: 1.52 MB / 0.9308 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.106, allocations: 7.468 MB / 0.9381 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.106, allocations: 0 / 0.9381 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.106, allocations: 0 / 0.9381 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001423/0.1062, allocations: 0 / 0.9381 GB, free: 8.363 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008777/0.115, allocations: 4.406 MB / 0.9424 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.115, allocations: 12.03 kB / 0.9424 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007071/0.1221, allocations: 1.66 MB / 0.944 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005665/0.1277, allocations: 2.233 MB / 0.9462 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.128, allocations: 246.3 kB / 0.9464 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/0.1287, allocations: 315.9 kB / 0.9467 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008196/0.1369, allocations: 3.957 MB / 0.9506 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.621e-05/0.1369, allocations: 15.88 kB / 0.9506 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.1373, allocations: 143.9 kB / 0.9507 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/0.1379, allocations: 406.3 kB / 0.9511 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00434/0.1422, allocations: 1.512 MB / 0.9526 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.1771, allocations: 23.45 MB / 0.9755 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1785, allocations: 0.4952 MB / 0.976 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.18, allocations: 0.5654 MB / 0.9765 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.1801, allocations: 17 kB / 0.9766 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.1802, allocations: 46.39 kB / 0.9766 GB, free: 15.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.717e-06/0.1802, allocations: 0 / 0.9766 GB, free: 15.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=179): time 0.03633/0.2165, allocations: 9.859 MB / 0.9862 GB, free: 5.762 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.2166, allocations: 73.41 kB / 0.9863 GB, free: 5.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.2192, allocations: 1.657 MB / 0.9879 GB, free: 4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.2195, allocations: 49.7 kB / 0.988 GB, free: 3.945 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.2214, allocations: 1.73 MB / 0.9897 GB, free: 2.199 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009019/0.2223, allocations: 0.7015 MB / 0.9903 GB, free: 1.492 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/0.2232, allocations: 429.2 kB / 0.9908 GB, free: 1.062 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002533/0.2234, allocations: 480.7 kB / 0.9912 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.225, allocations: 0.613 MB / 0.9918 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.2274, allocations: 1.461 MB / 0.9932 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.2316, allocations: 2.307 MB / 0.9955 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.2316, allocations: 4 kB / 0.9955 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01663/0.2483, allocations: 5.079 MB / 1 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.2483, allocations: 13 kB / 1 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.2483, allocations: 23.98 kB / 1 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/0.2641, allocations: 3.359 MB / 1.004 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.2654, allocations: 303.4 kB / 1.004 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04024/0.3056, allocations: 19.51 MB / 1.023 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.3077, allocations: 155.8 kB / 1.023 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.3079, allocations: 80 kB / 1.023 GB, free: 14.22 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.3091, allocations: 375.9 kB / 1.024 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007813/0.3099, allocations: 262.7 kB / 1.024 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/0.3257, allocations: 4.823 MB / 1.029 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.3257, allocations: 23.92 kB / 1.029 GB, free: 8.68 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/0.3258, allocations: 28 kB / 1.029 GB, free: 8.652 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.3258, allocations: 7.969 kB / 1.029 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/0.3501, allocations: 8.858 MB / 1.037 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.3501, allocations: 8 kB / 1.037 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.3509, allocations: 164.6 kB / 1.038 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/0.3661, allocations: 3.235 MB / 1.041 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.3663, allocations: 36 kB / 1.041 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3688/0.7351, allocations: 19.33 MB / 1.06 GB, free: 185 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.7351, allocations: 12.53 kB / 1.06 GB, free: 185 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.7479, allocations: 4.922 MB / 1.064 GB, free: 184.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/0.7498, allocations: 0.496 MB / 1.065 GB, free: 184.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.7501, allocations: 39.19 kB / 1.065 GB, free: 184.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.7516, allocations: 141 kB / 1.065 GB, free: 184.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007562/0.7524, allocations: 187.9 kB / 1.065 GB, free: 184.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.7525, allocations: 48.44 kB / 1.065 GB, free: 184.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001025/0.7536, allocations: 0.92 MB / 1.066 GB, free: 184.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7536, allocations: 0 / 1.066 GB, free: 184.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003011/0.7566, allocations: 1.119 MB / 1.067 GB, free: 184.1 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.7568, allocations: 152.1 kB / 1.067 GB, free: 184 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009747/0.7666, allocations: 4.506 MB / 1.072 GB, free: 182.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.7666, allocations: 0 / 1.072 GB, free: 182.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007997/0.7746, allocations: 3.532 MB / 1.075 GB, free: 181.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.7771, allocations: 0.5062 MB / 1.076 GB, free: 181.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.7856, allocations: 6.116 MB / 1.082 GB, free: 178.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/0.788, allocations: 1.934 MB / 1.084 GB, free: 178.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009145/0.7889, allocations: 317.8 kB / 1.084 GB, free: 178.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7891, allocations: 93.34 kB / 1.084 GB, free: 178.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.302e-06/0.7891, allocations: 0 / 1.084 GB, free: 178.7 MB / 1.01 GB Notification: Performance of Templates: time 0.08027/0.8694, allocations: 65.38 MB / 1.148 GB, free: 153 MB / 1.01 GB " [Timeout remaining time 299] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.215078286943026]