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.001466/0.001466, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.001624/0.001624, allocations: 191 kB / 16.91 MB, free: 5.758 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.61 kB / 0.9083 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.376, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.6598/1.036, allocations: 15.91 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007336/1.043, allocations: 4.769 MB / 1.084 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/1.044, allocations: 58.31 kB / 1.084 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/1.047, allocations: 0.9656 MB / 1.085 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/1.048, allocations: 0.6864 MB / 1.086 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.051, allocations: 0.8485 MB / 1.086 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00437/1.055, allocations: 3.626 MB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007889/1.063, allocations: 5.836 MB / 1.096 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/1.066, allocations: 1.599 MB / 1.097 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/1.068, allocations: 1.862 MB / 1.099 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004871/1.069, allocations: 339.3 kB / 1.099 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/1.071, allocations: 0.7978 MB / 1.1 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/1.072, allocations: 1.319 MB / 1.101 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/1.074, allocations: 1.462 MB / 1.103 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005871/1.08, allocations: 4.404 MB / 1.107 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.08, allocations: 3.938 kB / 1.107 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/1.08, allocations: 1.375 kB / 1.107 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001248/1.08, allocations: 0 / 1.107 GB, free: 6.168 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.006539/1.087, allocations: 2.653 MB / 1.11 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.087, allocations: 9.594 kB / 1.11 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/1.091, allocations: 0.825 MB / 1.111 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/1.094, allocations: 1.51 MB / 1.112 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.095, allocations: 175.9 kB / 1.112 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/1.095, allocations: 231.7 kB / 1.112 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008545/1.104, allocations: 4.165 MB / 1.117 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/1.104, allocations: 3.156 kB / 1.117 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/1.104, allocations: 98.27 kB / 1.117 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002323/1.104, allocations: 169.5 kB / 1.117 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006344/1.11, allocations: 3.63 MB / 1.12 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/1.131, allocations: 16.56 MB / 1.136 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/1.134, allocations: 2.288 MB / 1.139 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/1.135, allocations: 0.5822 MB / 1.139 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/1.135, allocations: 97.3 kB / 1.139 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.135, allocations: 43.17 kB / 1.139 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/1.135, allocations: 0 / 1.139 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.006873/1.142, allocations: 3.434 MB / 1.143 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/1.142, allocations: 115.4 kB / 1.143 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.144, allocations: 1.016 MB / 1.144 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/1.144, allocations: 36.23 kB / 1.144 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006495/1.144, allocations: 1.103 MB / 1.145 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.145, allocations: 272.7 kB / 1.145 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.145, allocations: 277.8 kB / 1.146 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.145, allocations: 415.6 kB / 1.146 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/1.146, allocations: 0.6129 MB / 1.146 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.147, allocations: 1.193 MB / 1.148 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/1.15, allocations: 1.867 MB / 1.149 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.15, allocations: 9.781 kB / 1.149 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003258/1.153, allocations: 2.008 MB / 1.151 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.153, allocations: 16.59 kB / 1.151 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.153, allocations: 24.05 kB / 1.151 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/1.154, allocations: 163.8 kB / 1.152 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.155, allocations: 346.6 kB / 1.152 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.398e-05/1.155, allocations: 39.8 kB / 1.152 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.156, allocations: 141.3 kB / 1.152 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.156, allocations: 67.2 kB / 1.152 GB, free: 8.59 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.001746/1.158, allocations: 0.974 MB / 1.153 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.158, allocations: 108.2 kB / 1.153 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/1.16, allocations: 1.234 MB / 1.154 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.16, allocations: 11.81 kB / 1.154 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.16, allocations: 2.031 kB / 1.154 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/1.161, allocations: 5.172 kB / 1.154 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007098/1.168, allocations: 3.801 MB / 1.158 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.168, allocations: 2.75 kB / 1.158 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/1.168, allocations: 156.5 kB / 1.158 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/1.169, allocations: 149.7 kB / 1.159 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/1.169, allocations: 15.25 kB / 1.159 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/1.169, allocations: 9.281 kB / 1.159 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.169, allocations: 2.812 kB / 1.159 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.171, allocations: 1.464 MB / 1.16 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/1.171, allocations: 275.1 kB / 1.16 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.172, allocations: 18.22 kB / 1.16 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/1.172, allocations: 70.55 kB / 1.16 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.172, allocations: 67.11 kB / 1.16 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/1.173, allocations: 21.25 kB / 1.16 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001089/1.174, allocations: 0.6939 MB / 1.161 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4e-07/1.174, allocations: 0 / 1.161 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001947/1.176, allocations: 391.3 kB / 1.161 GB, free: 2.887 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.0002574/1.176, allocations: 126.8 kB / 1.162 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.179, allocations: 2.019 MB / 1.164 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.179, allocations: 0 / 1.164 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009571/1.18, allocations: 0.8589 MB / 1.164 GB, free: 1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.181, allocations: 279.3 kB / 1.165 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/1.19, allocations: 5.174 MB / 1.17 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/1.193, allocations: 1.97 MB / 1.172 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/1.193, allocations: 95.42 kB / 1.172 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of SimCode: time 6.21e-07/1.193, allocations: 0 / 1.172 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of Templates: time 0.07869/1.272, allocations: 73.29 MB / 1.243 GB, free: 312 kB / 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