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.001653/0.001653, allocations: 113 kB / 16.42 MB, free: 6.5 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.001901/0.001901, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9276, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01884/0.9465, allocations: 16.02 MB / 1.237 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.9547, allocations: 4.816 MB / 1.241 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.9561, allocations: 67.69 kB / 1.241 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.9592, allocations: 1.057 MB / 1.242 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.9611, allocations: 0.7738 MB / 1.243 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.9635, allocations: 0.9157 MB / 1.244 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.9674, allocations: 3.614 MB / 1.248 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00569/0.9731, allocations: 4.765 MB / 1.252 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.9754, allocations: 1.597 MB / 1.254 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.9781, allocations: 1.78 MB / 1.255 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009578/0.9791, allocations: 344 kB / 1.256 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.981, allocations: 0.7997 MB / 1.257 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.9828, allocations: 1.326 MB / 1.258 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.9852, allocations: 1.455 MB / 1.259 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005392/0.9906, allocations: 5.132 MB / 1.264 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9906, allocations: 0 / 1.264 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9906, allocations: 0 / 1.264 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000131/0.9907, allocations: 0 / 1.264 GB, free: 5.672 MB / 0.9825 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.005886/0.9966, allocations: 2.654 MB / 1.267 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.9967, allocations: 8.625 kB / 1.267 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/1.001, allocations: 0.8329 MB / 1.268 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/1.004, allocations: 1.564 MB / 1.269 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/1.005, allocations: 177.1 kB / 1.269 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/1.005, allocations: 244.3 kB / 1.27 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/1.014, allocations: 4.158 MB / 1.274 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.86e-05/1.014, allocations: 4 kB / 1.274 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/1.014, allocations: 99.97 kB / 1.274 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/1.014, allocations: 176.5 kB / 1.274 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006669/1.021, allocations: 3.628 MB / 1.278 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02091/1.042, allocations: 16.42 MB / 1.294 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/1.045, allocations: 2.305 MB / 1.296 GB, free: 3.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/1.046, allocations: 0.5824 MB / 1.296 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/1.046, allocations: 93.66 kB / 1.296 GB, free: 2.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.046, allocations: 43.11 kB / 1.296 GB, free: 2.766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.096e-06/1.046, allocations: 3.938 kB / 1.296 GB, free: 2.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005954/1.052, allocations: 3.428 MB / 1.3 GB, free: 15.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.052, allocations: 115.5 kB / 1.3 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.054, allocations: 1.01 MB / 1.301 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/1.054, allocations: 37.7 kB / 1.301 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/1.054, allocations: 1.107 MB / 1.302 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/1.055, allocations: 272.3 kB / 1.302 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/1.055, allocations: 283.2 kB / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.055, allocations: 410.7 kB / 1.303 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008715/1.056, allocations: 0.6167 MB / 1.304 GB, free: 11.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/1.057, allocations: 1.189 MB / 1.305 GB, free: 9.859 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.059, allocations: 1.868 MB / 1.307 GB, free: 7.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.059, allocations: 7.938 kB / 1.307 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003034/1.062, allocations: 2.007 MB / 1.309 GB, free: 5.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.063, allocations: 19.94 kB / 1.309 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.063, allocations: 19.98 kB / 1.309 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/1.063, allocations: 159.3 kB / 1.309 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.064, allocations: 347.8 kB / 1.309 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.101e-05/1.064, allocations: 39.86 kB / 1.309 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/1.065, allocations: 135.7 kB / 1.309 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.065, allocations: 68 kB / 1.309 GB, free: 4.902 MB / 1.029 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.001343/1.067, allocations: 0.9771 MB / 1.31 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/1.067, allocations: 106.7 kB / 1.31 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/1.069, allocations: 1.222 MB / 1.312 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.069, allocations: 11.92 kB / 1.312 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.069, allocations: 0 / 1.312 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/1.069, allocations: 271.6 kB / 1.312 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.07, allocations: 23.92 kB / 1.312 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/1.07, allocations: 63.91 kB / 1.312 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.07, allocations: 56.53 kB / 1.312 GB, free: 2.125 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002339/1.073, allocations: 1.428 MB / 1.313 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002332/1.075, allocations: 1.906 MB / 1.315 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007062/1.076, allocations: 484.8 kB / 1.316 GB, free: 14.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00111/1.077, allocations: 0.6992 MB / 1.316 GB, free: 13.57 MB / 1.045 GB Notification: Performance of Backend: time 5.71e-07/1.077, allocations: 0 / 1.316 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003386/1.08, allocations: 1.63 MB / 1.318 GB, free: 11.85 MB / 1.045 GB Notification: Performance of SimCode: time 0.006538/1.087, allocations: 4.03 MB / 1.322 GB, free: 7.766 MB / 1.045 GB Notification: Performance of Templates: time 0.03354/1.12, allocations: 18.84 MB / 1.34 GB, free: 5.074 MB / 1.061 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