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.001704/0.001704, allocations: 108.2 kB / 16.41 MB, free: 6.496 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.001817/0.001817, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.43/1.43, 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.733/2.733, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 67.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.9062, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0433/0.9496, allocations: 37.96 MB / 1.245 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.9714, allocations: 10.99 MB / 1.256 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/0.9765, allocations: 151.3 kB / 1.256 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.9881, allocations: 4.361 MB / 1.261 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008519/0.9967, allocations: 2.219 MB / 1.263 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007612/1.004, allocations: 2.166 MB / 1.265 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01392/1.018, allocations: 9.288 MB / 1.274 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02108/1.039, allocations: 11.27 MB / 1.285 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009169/1.049, allocations: 4.051 MB / 1.289 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00945/1.058, allocations: 4.51 MB / 1.293 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003756/1.062, allocations: 0.8242 MB / 1.294 GB, free: 5.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00651/1.069, allocations: 1.584 MB / 1.296 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006528/1.075, allocations: 3.15 MB / 1.299 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009494/1.085, allocations: 3.657 MB / 1.302 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01759/1.102, allocations: 12.31 MB / 1.314 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.102, allocations: 4 kB / 1.314 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/1.102, allocations: 0 / 1.314 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004981/1.103, allocations: 0 / 1.314 GB, free: 0.6758 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.01952/1.122, allocations: 6.33 MB / 1.321 GB, free: 10.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.122, allocations: 8.031 kB / 1.321 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005801/1.128, allocations: 1.067 MB / 1.322 GB, free: 9.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/1.136, allocations: 3.61 MB / 1.325 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/1.136, allocations: 423.8 kB / 1.326 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/1.137, allocations: 0.5432 MB / 1.326 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/1.157, allocations: 9.377 MB / 1.335 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/1.157, allocations: 19.86 kB / 1.335 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007137/1.158, allocations: 244 kB / 1.335 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006124/1.158, allocations: 422.9 kB / 1.336 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/1.173, allocations: 7.12 MB / 1.343 GB, free: 3.059 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/1.222, allocations: 41 MB / 1.383 GB, free: 6.316 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.227, allocations: 3.108 MB / 1.386 GB, free: 3.203 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/1.23, allocations: 2.153 MB / 1.388 GB, free: 1.047 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/1.23, allocations: 22 kB / 1.388 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.23, allocations: 64.42 kB / 1.388 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 4.669e-06/1.23, allocations: 0 / 1.388 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02402/1.254, allocations: 10.56 MB / 1.398 GB, free: 6.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/1.254, allocations: 77.34 kB / 1.398 GB, free: 6.207 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/1.257, allocations: 2.005 MB / 1.4 GB, free: 4.184 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/1.257, allocations: 69.64 kB / 1.401 GB, free: 4.109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.259, allocations: 2.4 MB / 1.403 GB, free: 1.676 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009074/1.26, allocations: 0.7318 MB / 1.404 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/1.261, allocations: 485.1 kB / 1.404 GB, free: 464 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.261, allocations: 305.1 kB / 1.404 GB, free: 156 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.263, allocations: 1.368 MB / 1.406 GB, free: 14.78 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/1.265, allocations: 2.112 MB / 1.408 GB, free: 12.35 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/1.27, allocations: 3.766 MB / 1.411 GB, free: 8.273 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.27, allocations: 11.94 kB / 1.411 GB, free: 8.262 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008078/1.278, allocations: 5.061 MB / 1.416 GB, free: 3.176 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/1.278, allocations: 16 kB / 1.416 GB, free: 3.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/1.278, allocations: 24 kB / 1.416 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/1.282, allocations: 1.589 MB / 1.418 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/1.284, allocations: 455.2 kB / 1.418 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.306, allocations: 18.55 MB / 1.436 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.309, allocations: 151.9 kB / 1.437 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.309, allocations: 108.1 kB / 1.437 GB, free: 13.73 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.003655/1.313, allocations: 1.937 MB / 1.439 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/1.314, allocations: 296.7 kB / 1.439 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007764/1.321, allocations: 4.451 MB / 1.443 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/1.321, allocations: 24 kB / 1.443 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/1.321, allocations: 16 kB / 1.443 GB, free: 6.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/1.322, allocations: 7.969 kB / 1.443 GB, free: 6.953 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/1.338, allocations: 9.664 MB / 1.453 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.338, allocations: 4 kB / 1.453 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.339, allocations: 243.6 kB / 1.453 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.342, allocations: 1.418 MB / 1.454 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.343, allocations: 40 kB / 1.454 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/1.365, allocations: 18.57 MB / 1.473 GB, free: 8.301 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.365, allocations: 12.09 kB / 1.473 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.372, allocations: 4.548 MB / 1.477 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.373, allocations: 0.6304 MB / 1.478 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/1.374, allocations: 40 kB / 1.478 GB, free: 2.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.375, allocations: 115.9 kB / 1.478 GB, free: 2.848 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.376, allocations: 177.6 kB / 1.478 GB, free: 2.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.376, allocations: 60 kB / 1.478 GB, free: 2.613 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001779/1.378, allocations: 1.319 MB / 1.479 GB, free: 1.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.6e-07/1.378, allocations: 0 / 1.479 GB, free: 1.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003298/1.381, allocations: 1.137 MB / 1.48 GB, free: 152 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.0003769/1.381, allocations: 167 kB / 1.481 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007241/1.389, allocations: 4.724 MB / 1.485 GB, free: 11.21 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.389, allocations: 0 / 1.485 GB, free: 11.21 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004509/1.393, allocations: 2.929 MB / 1.488 GB, free: 8.227 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.397, allocations: 0.8939 MB / 1.489 GB, free: 7.348 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.417, allocations: 10.04 MB / 1.499 GB, free: 13.23 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005227/1.422, allocations: 3.788 MB / 1.502 GB, free: 9.406 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008598/1.423, allocations: 159.4 kB / 1.503 GB, free: 9.25 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/1.423, allocations: 0 / 1.503 GB, free: 9.25 MB / 1.232 GB Notification: Performance of Templates: time 0.96/2.383, allocations: 172.1 MB / 1.671 GB, free: 232.9 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