Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_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=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 104.2 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 64.12 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8965, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04477/0.9414, allocations: 37.96 MB / 1.246 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.9647, allocations: 10.98 MB / 1.256 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005386/0.9701, allocations: 155.3 kB / 1.256 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.9819, allocations: 4.359 MB / 1.261 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.9891, allocations: 2.219 MB / 1.263 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.996, allocations: 2.172 MB / 1.265 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.009, allocations: 9.284 MB / 1.274 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02036/1.029, allocations: 11.26 MB / 1.285 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008144/1.037, allocations: 4.063 MB / 1.289 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008699/1.046, allocations: 4.498 MB / 1.293 GB, free: 6.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004742/1.051, allocations: 0.8281 MB / 1.294 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008913/1.06, allocations: 1.58 MB / 1.296 GB, free: 3.898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006866/1.067, allocations: 3.158 MB / 1.299 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009325/1.076, allocations: 3.653 MB / 1.302 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.094, allocations: 12.31 MB / 1.314 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.095, allocations: 0 / 1.314 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.819e-06/1.095, allocations: 0 / 1.314 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004877/1.095, allocations: 3.938 kB / 1.314 GB, free: 0.7227 MB / 1.029 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.02089/1.116, allocations: 6.33 MB / 1.321 GB, free: 10.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.116, allocations: 8.031 kB / 1.321 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/1.123, allocations: 1.067 MB / 1.322 GB, free: 9.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/1.133, allocations: 3.61 MB / 1.325 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000602/1.133, allocations: 423.8 kB / 1.326 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/1.136, allocations: 0.5509 MB / 1.326 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/1.161, allocations: 9.381 MB / 1.335 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/1.161, allocations: 19.81 kB / 1.335 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/1.162, allocations: 244 kB / 1.335 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000608/1.163, allocations: 418.9 kB / 1.336 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/1.178, allocations: 7.127 MB / 1.343 GB, free: 3.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05551/1.234, allocations: 41 MB / 1.383 GB, free: 6.352 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/1.239, allocations: 3.1 MB / 1.386 GB, free: 3.246 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/1.243, allocations: 2.157 MB / 1.388 GB, free: 1.086 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/1.243, allocations: 18 kB / 1.388 GB, free: 1.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/1.243, allocations: 64.42 kB / 1.388 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 3.928e-06/1.243, allocations: 0 / 1.388 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02639/1.27, allocations: 10.56 MB / 1.398 GB, free: 6.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/1.27, allocations: 77.34 kB / 1.398 GB, free: 6.254 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.273, allocations: 2.013 MB / 1.4 GB, free: 4.223 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004803/1.274, allocations: 61.7 kB / 1.4 GB, free: 4.156 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.276, allocations: 2.404 MB / 1.403 GB, free: 1.719 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009921/1.277, allocations: 0.7278 MB / 1.404 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008884/1.278, allocations: 477.2 kB / 1.404 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.278, allocations: 305.1 kB / 1.404 GB, free: 212 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.28, allocations: 1.372 MB / 1.406 GB, free: 14.83 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/1.283, allocations: 2.112 MB / 1.408 GB, free: 12.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005542/1.288, allocations: 3.77 MB / 1.411 GB, free: 8.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/1.288, allocations: 8 kB / 1.411 GB, free: 8.312 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009349/1.298, allocations: 5.076 MB / 1.416 GB, free: 3.211 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/1.298, allocations: 12 kB / 1.416 GB, free: 3.199 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/1.298, allocations: 24 kB / 1.416 GB, free: 3.176 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/1.302, allocations: 1.59 MB / 1.418 GB, free: 1.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.304, allocations: 451.2 kB / 1.418 GB, free: 1.137 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/1.329, allocations: 18.56 MB / 1.436 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/1.332, allocations: 147.9 kB / 1.437 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/1.332, allocations: 108 kB / 1.437 GB, free: 13.76 MB / 1.17 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.004096/1.336, allocations: 1.938 MB / 1.439 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009614/1.337, allocations: 284.7 kB / 1.439 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008266/1.346, allocations: 4.459 MB / 1.443 GB, free: 7.039 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.346, allocations: 24 kB / 1.443 GB, free: 7.016 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.272e-05/1.346, allocations: 16 kB / 1.443 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.346, allocations: 11.95 kB / 1.443 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.366, allocations: 9.66 MB / 1.453 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.366, allocations: 4 kB / 1.453 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.367, allocations: 235.7 kB / 1.453 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/1.37, allocations: 1.423 MB / 1.454 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.37, allocations: 40 kB / 1.454 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02382/1.394, allocations: 18.57 MB / 1.473 GB, free: 8.34 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.394, allocations: 7.938 kB / 1.473 GB, free: 8.332 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/1.403, allocations: 4.548 MB / 1.477 GB, free: 3.695 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.405, allocations: 0.6265 MB / 1.478 GB, free: 3.047 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/1.406, allocations: 43.98 kB / 1.478 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.407, allocations: 115.9 kB / 1.478 GB, free: 2.891 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006126/1.408, allocations: 177.6 kB / 1.478 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.408, allocations: 60 kB / 1.478 GB, free: 2.656 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002625/1.411, allocations: 1.319 MB / 1.479 GB, free: 1.328 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.41e-07/1.411, allocations: 0 / 1.479 GB, free: 1.328 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004248/1.415, allocations: 1.141 MB / 1.48 GB, free: 192 kB / 1.201 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.0004351/1.416, allocations: 159.1 kB / 1.481 GB, free: 24 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008089/1.424, allocations: 4.732 MB / 1.485 GB, free: 11.25 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.424, allocations: 4 kB / 1.485 GB, free: 11.25 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004974/1.429, allocations: 2.921 MB / 1.488 GB, free: 8.27 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.434, allocations: 0.8936 MB / 1.489 GB, free: 7.391 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.456, allocations: 10.04 MB / 1.499 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00634/1.462, allocations: 3.788 MB / 1.502 GB, free: 9.445 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008788/1.463, allocations: 167.4 kB / 1.503 GB, free: 9.281 MB / 1.232 GB Notification: Performance of SimCode: time 1.142e-06/1.463, allocations: 0 / 1.503 GB, free: 9.281 MB / 1.232 GB Notification: Performance of Templates: time 0.9551/2.418, allocations: 172.1 MB / 1.671 GB, free: 233 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches