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.001481/0.001481, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001368/0.001368, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.451/1.451, 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 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9077, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01947/0.9272, allocations: 16.02 MB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008837/0.9361, allocations: 4.82 MB / 1.229 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.9377, allocations: 63.69 kB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.941, allocations: 1.053 MB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.9435, allocations: 0.7425 MB / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.9463, allocations: 0.9079 MB / 1.231 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.9507, allocations: 3.622 MB / 1.235 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00632/0.957, allocations: 4.754 MB / 1.24 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.9597, allocations: 1.601 MB / 1.241 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.9628, allocations: 1.78 MB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0009726/0.9638, allocations: 336 kB / 1.243 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.9662, allocations: 0.7997 MB / 1.244 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.9683, allocations: 1.326 MB / 1.245 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.9716, allocations: 1.455 MB / 1.247 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006987/0.9786, allocations: 5.136 MB / 1.252 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.9786, allocations: 0 / 1.252 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9786, allocations: 0 / 1.252 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000188/0.9788, allocations: 0 / 1.252 GB, free: 1.059 MB / 0.9669 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.008154/0.987, allocations: 2.662 MB / 1.254 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.9871, allocations: 8.031 kB / 1.254 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.9917, allocations: 0.8212 MB / 1.255 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.9953, allocations: 1.572 MB / 1.257 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.9956, allocations: 181.1 kB / 1.257 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009884/0.9966, allocations: 232.3 kB / 1.257 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009763/1.006, allocations: 4.161 MB / 1.261 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/1.006, allocations: 3.938 kB / 1.261 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006152/1.007, allocations: 108 kB / 1.261 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/1.007, allocations: 172.5 kB / 1.261 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007208/1.015, allocations: 3.632 MB / 1.265 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/1.036, allocations: 16.41 MB / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/1.039, allocations: 2.292 MB / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008767/1.04, allocations: 0.578 MB / 1.284 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/1.04, allocations: 105.6 kB / 1.284 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.04, allocations: 43.12 kB / 1.284 GB, free: 14.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/1.04, allocations: 3.938 kB / 1.284 GB, free: 14.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.006393/1.047, allocations: 3.428 MB / 1.287 GB, free: 10.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/1.047, allocations: 115.5 kB / 1.287 GB, free: 10.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.048, allocations: 1.014 MB / 1.288 GB, free: 9.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/1.048, allocations: 37.7 kB / 1.288 GB, free: 9.395 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/1.049, allocations: 1.099 MB / 1.29 GB, free: 8.277 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.049, allocations: 276.2 kB / 1.29 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/1.05, allocations: 275.2 kB / 1.29 GB, free: 7.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.05, allocations: 414.7 kB / 1.29 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/1.051, allocations: 0.6245 MB / 1.291 GB, free: 6.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/1.052, allocations: 1.185 MB / 1.292 GB, free: 5.246 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/1.055, allocations: 1.86 MB / 1.294 GB, free: 3.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/1.055, allocations: 8 kB / 1.294 GB, free: 3.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003341/1.058, allocations: 2.019 MB / 1.296 GB, free: 1.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.058, allocations: 12 kB / 1.296 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/1.058, allocations: 24.09 kB / 1.296 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/1.059, allocations: 159.3 kB / 1.296 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.06, allocations: 347.4 kB / 1.297 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.448e-05/1.06, allocations: 39.86 kB / 1.297 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.061, allocations: 131.7 kB / 1.297 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.061, allocations: 67.98 kB / 1.297 GB, free: 300 kB / 1.014 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.001619/1.063, allocations: 0.9733 MB / 1.298 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/1.063, allocations: 106.7 kB / 1.298 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/1.065, allocations: 1.233 MB / 1.299 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.066, allocations: 11.94 kB / 1.299 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.066, allocations: 4 kB / 1.299 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/1.066, allocations: 3.984 kB / 1.299 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/1.072, allocations: 3.802 MB / 1.303 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.072, allocations: 0 / 1.303 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/1.073, allocations: 164 kB / 1.303 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/1.073, allocations: 139.3 kB / 1.303 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/1.073, allocations: 20 kB / 1.303 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/1.073, allocations: 11.88 kB / 1.303 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.073, allocations: 4 kB / 1.303 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.075, allocations: 1.465 MB / 1.305 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/1.076, allocations: 271.8 kB / 1.305 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.076, allocations: 15.94 kB / 1.305 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/1.077, allocations: 71.91 kB / 1.305 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.077, allocations: 64.52 kB / 1.305 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/1.077, allocations: 20 kB / 1.305 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001138/1.078, allocations: 0.6953 MB / 1.306 GB, free: 6.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.078, allocations: 0 / 1.306 GB, free: 6.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001674/1.08, allocations: 388 kB / 1.306 GB, free: 6.566 MB / 1.029 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.0002704/1.08, allocations: 135.1 kB / 1.306 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002571/1.083, allocations: 1.719 MB / 1.308 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.083, allocations: 8.125 kB / 1.308 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.084, allocations: 0.8541 MB / 1.309 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.085, allocations: 273.9 kB / 1.309 GB, free: 3.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/1.093, allocations: 4.136 MB / 1.313 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/1.096, allocations: 1.963 MB / 1.315 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.096, allocations: 91.42 kB / 1.315 GB, free: 13.13 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/1.096, allocations: 4 kB / 1.315 GB, free: 13.12 MB / 1.045 GB Notification: Performance of Templates: time 0.08024/1.176, allocations: 73.44 MB / 1.387 GB, free: 3.668 MB / 1.107 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