Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001707/0.001707, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001996/0.001997, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.367/1.367, 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 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9103, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02036/0.9307, allocations: 16.01 MB / 1.183 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00908/0.9399, allocations: 4.816 MB / 1.188 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.9414, allocations: 67.69 kB / 1.188 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.9445, allocations: 1.059 MB / 1.189 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.9467, allocations: 0.7737 MB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.9493, allocations: 0.9144 MB / 1.19 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.9534, allocations: 3.618 MB / 1.194 GB, free: 8.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005971/0.9594, allocations: 4.765 MB / 1.199 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.9619, allocations: 1.597 MB / 1.2 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.9649, allocations: 1.78 MB / 1.202 GB, free: 308 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008979/0.9658, allocations: 340 kB / 1.202 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.9679, allocations: 0.8074 MB / 1.203 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.9697, allocations: 1.322 MB / 1.204 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.9724, allocations: 1.455 MB / 1.206 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.9777, allocations: 5.132 MB / 1.211 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9777, allocations: 0 / 1.211 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9777, allocations: 0 / 1.211 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001018/0.9779, allocations: 0 / 1.211 GB, free: 7.23 MB / 0.9356 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.00486/0.9827, allocations: 2.658 MB / 1.213 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.9828, allocations: 12.88 kB / 1.213 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/0.9866, allocations: 0.8329 MB / 1.214 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.9902, allocations: 1.572 MB / 1.216 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.9903, allocations: 177.1 kB / 1.216 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/0.9908, allocations: 236.3 kB / 1.216 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006803/0.9976, allocations: 4.154 MB / 1.22 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.9977, allocations: 7.938 kB / 1.22 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.998, allocations: 99.98 kB / 1.22 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.9982, allocations: 168.5 kB / 1.22 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/1.004, allocations: 3.64 MB / 1.224 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/1.023, allocations: 16.4 MB / 1.24 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/1.026, allocations: 2.296 MB / 1.242 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/1.027, allocations: 0.5896 MB / 1.243 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/1.027, allocations: 93.66 kB / 1.243 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.027, allocations: 55.05 kB / 1.243 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 3.737e-06/1.027, allocations: 3.984 kB / 1.243 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.005661/1.033, allocations: 3.424 MB / 1.246 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/1.033, allocations: 115.4 kB / 1.246 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.034, allocations: 1.014 MB / 1.247 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/1.034, allocations: 37.7 kB / 1.247 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/1.035, allocations: 1.107 MB / 1.248 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/1.035, allocations: 272.2 kB / 1.249 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/1.036, allocations: 283.2 kB / 1.249 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.036, allocations: 406.7 kB / 1.249 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/1.037, allocations: 0.6167 MB / 1.25 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.038, allocations: 1.189 MB / 1.251 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/1.04, allocations: 1.864 MB / 1.253 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.04, allocations: 4 kB / 1.253 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003097/1.043, allocations: 2.022 MB / 1.255 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.044, allocations: 15.98 kB / 1.255 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/1.044, allocations: 20 kB / 1.255 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/1.044, allocations: 163.9 kB / 1.255 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.045, allocations: 343.4 kB / 1.255 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.37e-05/1.045, allocations: 43.84 kB / 1.256 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/1.046, allocations: 127.7 kB / 1.256 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/1.046, allocations: 68 kB / 1.256 GB, free: 6.453 MB / 0.9825 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.00142/1.048, allocations: 0.9781 MB / 1.257 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/1.048, allocations: 110.7 kB / 1.257 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/1.05, allocations: 1.226 MB / 1.258 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.05, allocations: 15.92 kB / 1.258 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/1.05, allocations: 0 / 1.258 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.05, allocations: 7.984 kB / 1.258 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/1.056, allocations: 3.798 MB / 1.262 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.056, allocations: 4 kB / 1.262 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.056, allocations: 155.8 kB / 1.262 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/1.057, allocations: 143.5 kB / 1.262 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/1.057, allocations: 16 kB / 1.262 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.171e-05/1.057, allocations: 19.86 kB / 1.262 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.057, allocations: 4 kB / 1.262 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/1.059, allocations: 1.465 MB / 1.263 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005395/1.059, allocations: 267.7 kB / 1.264 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.059, allocations: 23.98 kB / 1.264 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/1.06, allocations: 67.91 kB / 1.264 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.06, allocations: 56.42 kB / 1.264 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/1.06, allocations: 20 kB / 1.264 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009237/1.061, allocations: 0.6992 MB / 1.265 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.265 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001457/1.063, allocations: 392 kB / 1.265 GB, free: 12.73 MB / 0.9981 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.0002093/1.063, allocations: 127.1 kB / 1.265 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002348/1.065, allocations: 1.723 MB / 1.267 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.065, allocations: 0 / 1.267 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009558/1.066, allocations: 0.8665 MB / 1.268 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.067, allocations: 274 kB / 1.268 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/1.074, allocations: 4.129 MB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.076, allocations: 1.963 MB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/1.076, allocations: 95.41 kB / 1.274 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.076, allocations: 0 / 1.274 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of Templates: time 0.07466/1.151, allocations: 73.44 MB / 1.346 GB, free: 9.828 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches