Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0009827/0.0009827, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0009228/0.0009228, allocations: 177.9 kB / 23.22 MB, free: 1.34 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.8748/0.8748, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.813e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02524/0.02527, allocations: 35.66 MB / 1.017 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.03897, allocations: 10.96 MB / 1.028 GB, free: 3.316 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.04171, allocations: 198.6 kB / 1.028 GB, free: 3.121 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.04697, allocations: 4.396 MB / 1.032 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.05178, allocations: 2.4 MB / 1.035 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.05562, allocations: 2.196 MB / 1.037 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008172/0.06379, allocations: 9.454 MB / 1.046 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5168/0.5806, allocations: 6.357 MB / 1.052 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005714/0.5863, allocations: 5.781 MB / 1.058 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.5896, allocations: 4.183 MB / 1.062 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006743/0.5903, allocations: 0.8239 MB / 1.063 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.5922, allocations: 1.52 MB / 1.064 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.5941, allocations: 3.368 MB / 1.067 GB, free: 52.69 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.5958, allocations: 2.566 MB / 1.07 GB, free: 52.45 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.009928/0.6057, allocations: 12.56 MB / 1.082 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6057, allocations: 4 kB / 1.082 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6057, allocations: 2 kB / 1.082 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003454/0.6061, allocations: 0 / 1.082 GB, free: 51.02 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01136/0.6174, allocations: 6.327 MB / 1.088 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6175, allocations: 9.031 kB / 1.088 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.6208, allocations: 1.109 MB / 1.09 GB, free: 47.31 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.6256, allocations: 3.576 MB / 1.093 GB, free: 45.72 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.6259, allocations: 426.7 kB / 1.093 GB, free: 45.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006853/0.6266, allocations: 0.5361 MB / 1.094 GB, free: 45.37 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.6397, allocations: 10.29 MB / 1.104 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.6398, allocations: 26.66 kB / 1.104 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004994/0.6403, allocations: 248.8 kB / 1.104 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005199/0.6409, allocations: 426.1 kB / 1.105 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.6511, allocations: 7.117 MB / 1.112 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.6729, allocations: 25.32 MB / 1.136 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.6759, allocations: 2.901 MB / 1.139 GB, free: 20.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.6778, allocations: 1.932 MB / 1.141 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.575e-05/0.6779, allocations: 21.97 kB / 1.141 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6779, allocations: 60.5 kB / 1.141 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 5.32e-06/0.678, allocations: 0 / 1.141 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01536/0.6933, allocations: 10.25 MB / 1.151 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6934, allocations: 74.03 kB / 1.151 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.6952, allocations: 1.835 MB / 1.153 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.6953, allocations: 62.08 kB / 1.153 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/0.6962, allocations: 2.473 MB / 1.155 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.6965, allocations: 0.7581 MB / 1.156 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.697, allocations: 474.6 kB / 1.157 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.677e-05/0.697, allocations: 307.4 kB / 1.157 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6982, allocations: 1.378 MB / 1.158 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.6996, allocations: 2.103 MB / 1.16 GB, free: 9.523 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.7024, allocations: 3.771 MB / 1.164 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.7024, allocations: 5.406 kB / 1.164 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004575/0.7069, allocations: 5.011 MB / 1.169 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.707, allocations: 15.06 kB / 1.169 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.707, allocations: 24.75 kB / 1.169 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.709, allocations: 1.585 MB / 1.171 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.7098, allocations: 453.9 kB / 1.171 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.7236, allocations: 17.79 MB / 1.188 GB, free: 4.945 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.7251, allocations: 147.9 kB / 1.188 GB, free: 4.801 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.7252, allocations: 104 kB / 1.189 GB, free: 4.699 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003746/0.7289, allocations: 1.944 MB / 1.19 GB, free: 2.773 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.7292, allocations: 282.2 kB / 1.191 GB, free: 2.496 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.7336, allocations: 4.39 MB / 1.195 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7336, allocations: 27.98 kB / 1.195 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.7336, allocations: 19.94 kB / 1.195 GB, free: 14.09 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7336, allocations: 7.969 kB / 1.195 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/0.7432, allocations: 8.358 MB / 1.203 GB, free: 5.727 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7432, allocations: 4 kB / 1.203 GB, free: 5.723 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.7437, allocations: 226.5 kB / 1.203 GB, free: 5.512 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.7458, allocations: 1.423 MB / 1.205 GB, free: 4.078 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/0.7459, allocations: 44 kB / 1.205 GB, free: 4.035 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.7596, allocations: 17.78 MB / 1.222 GB, free: 1.906 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7596, allocations: 6.906 kB / 1.222 GB, free: 1.902 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.7644, allocations: 4.468 MB / 1.227 GB, free: 13.41 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.7654, allocations: 0.5527 MB / 1.227 GB, free: 12.85 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.7656, allocations: 43.98 kB / 1.227 GB, free: 12.81 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.7664, allocations: 119 kB / 1.227 GB, free: 12.7 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.7667, allocations: 185.1 kB / 1.228 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/0.7668, allocations: 60 kB / 1.228 GB, free: 12.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001295/0.7681, allocations: 1.172 MB / 1.229 GB, free: 11.27 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7681, allocations: 0 / 1.229 GB, free: 11.27 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002806/0.7709, allocations: 1.137 MB / 1.23 GB, free: 10.13 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002337/0.7711, allocations: 157.6 kB / 1.23 GB, free: 9.98 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004811/0.7759, allocations: 4.541 MB / 1.234 GB, free: 5.52 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.7759, allocations: 4.312 kB / 1.234 GB, free: 5.516 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.7784, allocations: 2.793 MB / 1.237 GB, free: 2.699 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.7803, allocations: 0.829 MB / 1.238 GB, free: 1.898 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.7925, allocations: 10.29 MB / 1.248 GB, free: 7.512 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/0.7953, allocations: 3.252 MB / 1.251 GB, free: 4.223 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.7956, allocations: 159.9 kB / 1.251 GB, free: 4.07 MB / 1.073 GB Notification: Performance of SimCode: time 1.172e-06/0.7956, allocations: 0 / 1.251 GB, free: 4.07 MB / 1.073 GB Notification: Performance of Templates: time 0.1158/0.9114, allocations: 172.9 MB / 1.42 GB, free: 7.43 MB / 1.245 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 15.45819245185703]