Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001501/0.001501, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001483/0.001483, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.355/1.355, 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.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001842, allocations: 69.45 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3023, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.4953/0.7977, allocations: 15.91 MB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007488/0.8053, allocations: 4.773 MB / 1.084 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.8063, allocations: 58.28 kB / 1.084 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.8087, allocations: 0.9669 MB / 1.085 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.8105, allocations: 0.6844 MB / 1.086 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.8128, allocations: 0.84 MB / 1.087 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.8167, allocations: 3.631 MB / 1.09 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007572/0.8243, allocations: 5.838 MB / 1.096 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.827, allocations: 1.604 MB / 1.098 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.8299, allocations: 1.857 MB / 1.099 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006128/0.8305, allocations: 339.9 kB / 1.1 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.8324, allocations: 0.7986 MB / 1.101 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.834, allocations: 1.327 MB / 1.102 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.8357, allocations: 1.448 MB / 1.103 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.841, allocations: 4.414 MB / 1.108 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.8411, allocations: 1.375 kB / 1.108 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8411, allocations: 3.938 kB / 1.108 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000122/0.8412, allocations: 0 / 1.108 GB, free: 5.938 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.006531/0.8477, allocations: 2.644 MB / 1.11 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8478, allocations: 9.5 kB / 1.11 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.8519, allocations: 0.8249 MB / 1.111 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.8545, allocations: 1.503 MB / 1.112 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.8547, allocations: 180.5 kB / 1.113 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003868/0.855, allocations: 234 kB / 1.113 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007919/0.863, allocations: 4.167 MB / 1.117 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.8631, allocations: 6.344 kB / 1.117 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.8633, allocations: 98.59 kB / 1.117 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/0.8636, allocations: 178.6 kB / 1.117 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006503/0.8701, allocations: 3.624 MB / 1.121 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.8941, allocations: 16.56 MB / 1.137 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.8977, allocations: 2.287 MB / 1.139 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/0.8987, allocations: 0.5757 MB / 1.14 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.8989, allocations: 93.66 kB / 1.14 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.899, allocations: 47.53 kB / 1.14 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.899, allocations: 3.938 kB / 1.14 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.007239/0.9062, allocations: 3.425 MB / 1.143 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.9063, allocations: 112.1 kB / 1.143 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.9081, allocations: 1.019 MB / 1.144 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.9082, allocations: 41.02 kB / 1.144 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/0.9091, allocations: 1.097 MB / 1.145 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.9094, allocations: 278 kB / 1.146 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/0.9099, allocations: 281.6 kB / 1.146 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000248/0.9101, allocations: 414.6 kB / 1.146 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.9111, allocations: 0.6135 MB / 1.147 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.9127, allocations: 1.189 MB / 1.148 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.9151, allocations: 1.864 MB / 1.15 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/0.9152, allocations: 4.531 kB / 1.15 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003586/0.9188, allocations: 2.02 MB / 1.152 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.9188, allocations: 13.19 kB / 1.152 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.9189, allocations: 20.06 kB / 1.152 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.9193, allocations: 167.5 kB / 1.152 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.9205, allocations: 347.7 kB / 1.152 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.864e-05/0.9206, allocations: 37.98 kB / 1.152 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9218, allocations: 142.5 kB / 1.153 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.9219, allocations: 67.69 kB / 1.153 GB, free: 8.238 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.001767/0.9237, allocations: 0.9802 MB / 1.154 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.9241, allocations: 111.8 kB / 1.154 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.9264, allocations: 1.229 MB / 1.155 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.9264, allocations: 13.28 kB / 1.155 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9264, allocations: 1.188 kB / 1.155 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.9264, allocations: 5.016 kB / 1.155 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/0.9338, allocations: 3.803 MB / 1.159 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.9339, allocations: 1.375 kB / 1.159 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.9344, allocations: 153.9 kB / 1.159 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.9348, allocations: 145.3 kB / 1.159 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.9349, allocations: 22.86 kB / 1.159 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.9349, allocations: 8.062 kB / 1.159 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9349, allocations: 4.125 kB / 1.159 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.9372, allocations: 1.467 MB / 1.16 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/0.9378, allocations: 274.4 kB / 1.161 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.9381, allocations: 18.88 kB / 1.161 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.9388, allocations: 66.38 kB / 1.161 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.939, allocations: 66.11 kB / 1.161 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.939, allocations: 21.66 kB / 1.161 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001112/0.9401, allocations: 0.6967 MB / 1.161 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9402, allocations: 0 / 1.161 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001896/0.9421, allocations: 388 kB / 1.162 GB, free: 2.535 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.0002586/0.9423, allocations: 135 kB / 1.162 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003051/0.9454, allocations: 2.015 MB / 1.164 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9454, allocations: 0 / 1.164 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.9464, allocations: 0.8634 MB / 1.165 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.9481, allocations: 272.9 kB / 1.165 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/0.9572, allocations: 5.175 MB / 1.17 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002494/0.9598, allocations: 1.966 MB / 1.172 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.9602, allocations: 91.42 kB / 1.172 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.9602, allocations: 0 / 1.172 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of Templates: time 0.08683/1.047, allocations: 73.29 MB / 1.244 GB, free: 15.9 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches