Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 106.9 kB / 16.27 MB, free: 6.109 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.001997/0.001997, allocations: 190.2 kB / 17.2 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.75 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.6225/0.9672, allocations: 15.99 MB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008431/0.9757, allocations: 4.824 MB / 1.085 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.9772, allocations: 65.19 kB / 1.085 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.9801, allocations: 1.049 MB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.9827, allocations: 0.7467 MB / 1.086 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.9855, allocations: 0.916 MB / 1.087 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005483/0.991, allocations: 3.621 MB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007507/0.9986, allocations: 4.798 MB / 1.095 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/1.002, allocations: 1.572 MB / 1.097 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/1.005, allocations: 1.775 MB / 1.099 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007385/1.006, allocations: 340 kB / 1.099 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/1.008, allocations: 0.7991 MB / 1.1 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002217/1.01, allocations: 1.325 MB / 1.101 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003011/1.013, allocations: 1.456 MB / 1.103 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007911/1.021, allocations: 5.093 MB / 1.108 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.021, allocations: 4 kB / 1.108 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/1.021, allocations: 0.8125 kB / 1.108 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001634/1.021, allocations: 0 / 1.108 GB, free: 6.062 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00756/1.029, allocations: 2.652 MB / 1.11 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.029, allocations: 11 kB / 1.11 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/1.033, allocations: 0.8242 MB / 1.111 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/1.037, allocations: 1.501 MB / 1.112 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/1.037, allocations: 176.5 kB / 1.113 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/1.037, allocations: 238.2 kB / 1.113 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009052/1.047, allocations: 4.167 MB / 1.117 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.034e-05/1.047, allocations: 7.031 kB / 1.117 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/1.047, allocations: 102.1 kB / 1.117 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/1.047, allocations: 169.7 kB / 1.117 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00777/1.055, allocations: 3.632 MB / 1.121 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/1.079, allocations: 16.55 MB / 1.137 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/1.083, allocations: 2.296 MB / 1.139 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/1.084, allocations: 0.5754 MB / 1.14 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.084, allocations: 101.7 kB / 1.14 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.084, allocations: 46.94 kB / 1.14 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=72): time 3.386e-06/1.084, allocations: 0 / 1.14 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.006315/1.09, allocations: 3.426 MB / 1.143 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/1.091, allocations: 112.3 kB / 1.143 GB, free: 15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.092, allocations: 1.02 MB / 1.144 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/1.092, allocations: 40.14 kB / 1.144 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/1.093, allocations: 1.097 MB / 1.145 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/1.093, allocations: 274.4 kB / 1.146 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004268/1.094, allocations: 278 kB / 1.146 GB, free: 13 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002572/1.094, allocations: 414.9 kB / 1.146 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/1.095, allocations: 0.6134 MB / 1.147 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/1.096, allocations: 1.192 MB / 1.148 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/1.099, allocations: 1.86 MB / 1.15 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.099, allocations: 10.03 kB / 1.15 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003462/1.102, allocations: 2.012 MB / 1.152 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.102, allocations: 17 kB / 1.152 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/1.102, allocations: 19.41 kB / 1.152 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/1.103, allocations: 164 kB / 1.152 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.104, allocations: 351.8 kB / 1.152 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.445e-05/1.104, allocations: 38.23 kB / 1.152 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.105, allocations: 130.3 kB / 1.153 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.105, allocations: 71.27 kB / 1.153 GB, free: 8.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/1.107, allocations: 0.9704 MB / 1.154 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/1.108, allocations: 112.5 kB / 1.154 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.11, allocations: 1.238 MB / 1.155 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.11, allocations: 16.16 kB / 1.155 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.11, allocations: 1.469 kB / 1.155 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.11, allocations: 5.484 kB / 1.155 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/1.117, allocations: 3.805 MB / 1.159 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.117, allocations: 2.906 kB / 1.159 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/1.117, allocations: 157.1 kB / 1.159 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/1.118, allocations: 141.3 kB / 1.159 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/1.118, allocations: 17.5 kB / 1.159 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.118, allocations: 9.438 kB / 1.159 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.118, allocations: 8.062 kB / 1.159 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/1.12, allocations: 1.46 MB / 1.16 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/1.12, allocations: 270.9 kB / 1.161 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.121, allocations: 23.44 kB / 1.161 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/1.121, allocations: 61.75 kB / 1.161 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.121, allocations: 62.42 kB / 1.161 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/1.121, allocations: 29.11 kB / 1.161 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009639/1.122, allocations: 0.6938 MB / 1.161 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.122, allocations: 0 / 1.161 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001649/1.124, allocations: 389.1 kB / 1.162 GB, free: 2.73 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/1.124, allocations: 126.9 kB / 1.162 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002768/1.127, allocations: 2.012 MB / 1.164 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.127, allocations: 0.9375 kB / 1.164 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/1.128, allocations: 0.8678 MB / 1.165 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.129, allocations: 268.4 kB / 1.165 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/1.136, allocations: 4.186 MB / 1.169 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.138, allocations: 1.966 MB / 1.171 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.138, allocations: 95.42 kB / 1.171 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of SimCode: time 6.52e-07/1.138, allocations: 0 / 1.171 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of Templates: time 0.07936/1.218, allocations: 73.29 MB / 1.243 GB, free: 1.152 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches