Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009434/0.0009436, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8837, allocations: 142.4 MB / 0.9545 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02325/0.907, allocations: 18.41 MB / 0.9724 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.9216, allocations: 6.129 MB / 0.9784 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.9244, allocations: 75.47 kB / 0.9785 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.9258, allocations: 397.4 kB / 0.9789 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.9294, allocations: 0.9618 MB / 0.9798 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.9325, allocations: 0.7647 MB / 0.9805 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008163/0.9407, allocations: 5.484 MB / 0.9859 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.9523, allocations: 6.384 MB / 0.9921 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.9562, allocations: 1.514 MB / 0.9936 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.9604, allocations: 1.974 MB / 0.9955 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005903/0.961, allocations: 176 kB / 0.9957 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.963, allocations: 487.4 kB / 0.9962 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.9646, allocations: 1.341 MB / 0.9975 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.9657, allocations: 0.6446 MB / 0.9981 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006125/0.9718, allocations: 5.376 MB / 1.003 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.9718, allocations: 0 / 1.003 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.576e-06/0.9719, allocations: 4 kB / 1.003 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002028/0.9721, allocations: 0 / 1.003 GB, free: 13.26 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006707/0.9788, allocations: 2.855 MB / 1.006 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9788, allocations: 8.031 kB / 1.006 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.9824, allocations: 0.644 MB / 1.007 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.9859, allocations: 1.888 MB / 1.009 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.9861, allocations: 221.9 kB / 1.009 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/0.9866, allocations: 299.8 kB / 1.009 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008778/0.9954, allocations: 4.863 MB / 1.014 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.966e-05/0.9955, allocations: 11.94 kB / 1.014 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.9958, allocations: 128 kB / 1.014 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004367/0.9962, allocations: 233.7 kB / 1.014 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/1.003, allocations: 3.727 MB / 1.018 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/1.026, allocations: 21.6 MB / 1.039 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.028, allocations: 1.311 MB / 1.04 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/1.029, allocations: 1.038 MB / 1.041 GB, free: 4.102 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/1.029, allocations: 13 kB / 1.041 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.03, allocations: 47.56 kB / 1.041 GB, free: 4.035 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.556e-06/1.03, allocations: 0 / 1.041 GB, free: 4.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=138): time 0.02145/1.051, allocations: 8.662 MB / 1.05 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.051, allocations: 72.66 kB / 1.05 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.053, allocations: 1.115 MB / 1.051 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-05/1.053, allocations: 57.64 kB / 1.051 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008825/1.054, allocations: 1.296 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/1.054, allocations: 477.2 kB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/1.054, allocations: 39.94 kB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.054, allocations: 365.9 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/1.056, allocations: 0.9057 MB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.057, allocations: 1.322 MB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.059, allocations: 1.138 MB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.059, allocations: 7.953 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005728/1.065, allocations: 3.445 MB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.065, allocations: 8 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.065, allocations: 12 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/1.067, allocations: 1.178 MB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/1.068, allocations: 263.5 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.084, allocations: 12.71 MB / 1.074 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.086, allocations: 91.97 kB / 1.074 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.086, allocations: 64 kB / 1.074 GB, free: 2.125 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002109/1.088, allocations: 1.114 MB / 1.075 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.088, allocations: 162.1 kB / 1.075 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/1.094, allocations: 3.161 MB / 1.078 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.094, allocations: 16 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.094, allocations: 12 kB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.094, allocations: 3.984 kB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/1.103, allocations: 6.237 MB / 1.084 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.103, allocations: 4 kB / 1.084 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/1.104, allocations: 155.8 kB / 1.084 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/1.107, allocations: 1.071 MB / 1.085 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/1.107, allocations: 28 kB / 1.085 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/1.121, allocations: 12.43 MB / 1.098 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.121, allocations: 4 kB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/1.127, allocations: 3.143 MB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/1.127, allocations: 431 kB / 1.101 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.128, allocations: 28 kB / 1.101 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/1.128, allocations: 83.89 kB / 1.101 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/1.129, allocations: 124.7 kB / 1.101 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/1.129, allocations: 40 kB / 1.101 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001103/1.13, allocations: 0.7514 MB / 1.102 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/1.13, allocations: 0 / 1.102 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002193/1.132, allocations: 0.664 MB / 1.103 GB, free: 3.805 MB / 0.8575 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/1.132, allocations: 150.8 kB / 1.103 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.137, allocations: 3.127 MB / 1.106 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.137, allocations: 4 kB / 1.106 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.14, allocations: 1.956 MB / 1.108 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.142, allocations: 464 kB / 1.108 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009389/1.151, allocations: 6.451 MB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/1.154, allocations: 2.336 MB / 1.117 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001071/1.155, allocations: 354.1 kB / 1.117 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.155, allocations: 87.44 kB / 1.117 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/1.155, allocations: 3.938 kB / 1.117 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of Templates: time 0.05169/1.207, allocations: 30.19 MB / 1.147 GB, free: 6.93 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches