Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001484/0.001484, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.001466/0.001466, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 68.77 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3128, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.5133/0.826, allocations: 37.61 MB / 1.101 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.8434, allocations: 10.89 MB / 1.112 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.8478, allocations: 141.8 kB / 1.112 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.8589, allocations: 4.08 MB / 1.116 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007526/0.8665, allocations: 2.049 MB / 1.118 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006587/0.8731, allocations: 1.976 MB / 1.12 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01475/0.8878, allocations: 9.305 MB / 1.129 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02314/0.911, allocations: 13.58 MB / 1.142 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00924/0.9203, allocations: 4.057 MB / 1.146 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009955/0.9303, allocations: 4.713 MB / 1.15 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.004074/0.9344, allocations: 0.8232 MB / 1.151 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008061/0.9425, allocations: 1.585 MB / 1.153 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007755/0.9503, allocations: 3.154 MB / 1.156 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.9614, allocations: 3.659 MB / 1.159 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.9764, allocations: 10.53 MB / 1.17 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9764, allocations: 0 / 1.17 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9764, allocations: 0 / 1.17 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004019/0.9768, allocations: 0 / 1.17 GB, free: 14.43 MB / 0.8887 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.01833/0.9952, allocations: 6.326 MB / 1.176 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9952, allocations: 12.03 kB / 1.176 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005984/1.001, allocations: 1.067 MB / 1.177 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007884/1.009, allocations: 3.415 MB / 1.18 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/1.01, allocations: 427.7 kB / 1.181 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/1.012, allocations: 0.5394 MB / 1.181 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/1.035, allocations: 9.386 MB / 1.19 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/1.036, allocations: 23.72 kB / 1.19 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009963/1.037, allocations: 248 kB / 1.191 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007066/1.037, allocations: 418.9 kB / 1.191 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/1.055, allocations: 7.123 MB / 1.198 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05922/1.114, allocations: 41.31 MB / 1.238 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005499/1.119, allocations: 3.115 MB / 1.241 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/1.123, allocations: 2.141 MB / 1.244 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.123, allocations: 22 kB / 1.244 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.965e-05/1.123, allocations: 56.56 kB / 1.244 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=209): time 4.278e-06/1.123, allocations: 0 / 1.244 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=212): time 0.02687/1.15, allocations: 10.56 MB / 1.254 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/1.15, allocations: 81.34 kB / 1.254 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/1.154, allocations: 2.002 MB / 1.256 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/1.155, allocations: 65.7 kB / 1.256 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.157, allocations: 2.404 MB / 1.258 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009523/1.158, allocations: 0.7279 MB / 1.259 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/1.159, allocations: 481.2 kB / 1.26 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.159, allocations: 301.1 kB / 1.26 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.161, allocations: 1.372 MB / 1.261 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/1.164, allocations: 2.116 MB / 1.263 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.17, allocations: 3.762 MB / 1.267 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/1.17, allocations: 8 kB / 1.267 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008779/1.178, allocations: 5.072 MB / 1.272 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.179, allocations: 16 kB / 1.272 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/1.179, allocations: 20 kB / 1.272 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/1.182, allocations: 1.593 MB / 1.273 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.184, allocations: 455.2 kB / 1.274 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/1.209, allocations: 18.58 MB / 1.292 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.211, allocations: 147.9 kB / 1.292 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/1.211, allocations: 112 kB / 1.292 GB, free: 11.67 MB / 1.014 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.003551/1.215, allocations: 1.937 MB / 1.294 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/1.216, allocations: 284.7 kB / 1.294 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007738/1.223, allocations: 4.462 MB / 1.299 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.223, allocations: 20 kB / 1.299 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.223, allocations: 20.12 kB / 1.299 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.223, allocations: 7.969 kB / 1.299 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.241, allocations: 9.672 MB / 1.308 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.241, allocations: 4 kB / 1.308 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/1.242, allocations: 231.6 kB / 1.308 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/1.245, allocations: 1.44 MB / 1.31 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.245, allocations: 40 kB / 1.31 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0238/1.269, allocations: 18.56 MB / 1.328 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.269, allocations: 11.94 kB / 1.328 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00759/1.277, allocations: 4.541 MB / 1.332 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.278, allocations: 0.642 MB / 1.333 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/1.279, allocations: 39.94 kB / 1.333 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.28, allocations: 115.9 kB / 1.333 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.28, allocations: 185.6 kB / 1.333 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.281, allocations: 56 kB / 1.334 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001872/1.283, allocations: 1.319 MB / 1.335 GB, free: 15.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.1e-07/1.283, allocations: 0 / 1.335 GB, free: 15.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003467/1.286, allocations: 1.137 MB / 1.336 GB, free: 14.08 MB / 1.061 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.0003279/1.286, allocations: 171 kB / 1.336 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.296, allocations: 5.914 MB / 1.342 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.297, allocations: 0 / 1.342 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004713/1.301, allocations: 2.918 MB / 1.345 GB, free: 4.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/1.305, allocations: 0.8907 MB / 1.346 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.328, allocations: 12.55 MB / 1.358 GB, free: 7.453 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00602/1.334, allocations: 3.788 MB / 1.362 GB, free: 3.633 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008129/1.335, allocations: 163.4 kB / 1.362 GB, free: 3.473 MB / 1.076 GB Notification: Performance of SimCode: time 6.82e-07/1.335, allocations: 0 / 1.362 GB, free: 3.473 MB / 1.076 GB Notification: Performance of Templates: time 0.2229/1.558, allocations: 171.8 MB / 1.529 GB, free: 7.77 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches