Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001638/0.001638, allocations: 192 kB / 17.35 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.83 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9772/0.9788, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02666/1.006, allocations: 20.43 MB / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01417/1.02, allocations: 7.689 MB / 1.248 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/1.022, allocations: 59.81 kB / 1.248 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/1.026, allocations: 1.352 MB / 1.25 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/1.03, allocations: 1.019 MB / 1.251 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005544/1.035, allocations: 2.002 MB / 1.253 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006704/1.042, allocations: 4.331 MB / 1.257 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008152/1.05, allocations: 6.157 MB / 1.263 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/1.053, allocations: 1.87 MB / 1.265 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/1.057, allocations: 2.201 MB / 1.267 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007825/1.058, allocations: 428 kB / 1.267 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/1.06, allocations: 0.9402 MB / 1.268 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/1.061, allocations: 1.657 MB / 1.27 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002532/1.064, allocations: 1.712 MB / 1.272 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006834/1.071, allocations: 6.188 MB / 1.278 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.071, allocations: 0 / 1.278 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.071, allocations: 0 / 1.278 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001659/1.071, allocations: 7.938 kB / 1.278 GB, free: 8.129 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006771/1.078, allocations: 3.051 MB / 1.281 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.078, allocations: 8.625 kB / 1.281 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/1.081, allocations: 0.7468 MB / 1.281 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/1.085, allocations: 1.567 MB / 1.283 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.085, allocations: 222.1 kB / 1.283 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005392/1.086, allocations: 288.3 kB / 1.283 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008882/1.094, allocations: 5.082 MB / 1.288 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/1.095, allocations: 7.938 kB / 1.288 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/1.095, allocations: 124 kB / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/1.095, allocations: 208.6 kB / 1.289 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/1.102, allocations: 4.22 MB / 1.293 GB, free: 8.309 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/1.129, allocations: 22.93 MB / 1.315 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/1.132, allocations: 1.739 MB / 1.317 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/1.133, allocations: 1.147 MB / 1.318 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/1.134, allocations: 101.7 kB / 1.318 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/1.134, allocations: 51.22 kB / 1.318 GB, free: 12.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=84): time 3.316e-06/1.134, allocations: 0 / 1.318 GB, free: 12.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=87): time 0.007205/1.141, allocations: 4.005 MB / 1.322 GB, free: 8.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/1.141, allocations: 141.2 kB / 1.322 GB, free: 7.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.142, allocations: 0.8681 MB / 1.323 GB, free: 7.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.142, allocations: 41.7 kB / 1.323 GB, free: 7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/1.143, allocations: 1.166 MB / 1.324 GB, free: 5.816 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/1.144, allocations: 307.6 kB / 1.324 GB, free: 5.512 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/1.144, allocations: 278.5 kB / 1.325 GB, free: 5.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.144, allocations: 406.7 kB / 1.325 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.146, allocations: 0.8218 MB / 1.326 GB, free: 4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/1.147, allocations: 1.31 MB / 1.327 GB, free: 2.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/1.15, allocations: 2.167 MB / 1.329 GB, free: 120 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.15, allocations: 4 kB / 1.329 GB, free: 116 kB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003635/1.154, allocations: 2.21 MB / 1.331 GB, free: 13.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.154, allocations: 12 kB / 1.331 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.154, allocations: 12 kB / 1.331 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/1.154, allocations: 20 kB / 1.331 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.156, allocations: 423.9 kB / 1.332 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/1.156, allocations: 23.94 kB / 1.332 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.157, allocations: 211.3 kB / 1.332 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.158, allocations: 63.98 kB / 1.332 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002658/1.16, allocations: 1.681 MB / 1.334 GB, free: 11.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001462/1.162, allocations: 1.186 MB / 1.335 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002471/1.164, allocations: 1.91 MB / 1.337 GB, free: 7.914 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/1.164, allocations: 7.938 kB / 1.337 GB, free: 7.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003158/1.167, allocations: 1.922 MB / 1.339 GB, free: 5.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.167, allocations: 18.23 kB / 1.339 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.167, allocations: 23.94 kB / 1.339 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.167, allocations: 20 kB / 1.339 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.169, allocations: 359.4 kB / 1.339 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-05/1.169, allocations: 35.86 kB / 1.339 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.17, allocations: 183.3 kB / 1.339 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.17, allocations: 59.98 kB / 1.339 GB, free: 5.293 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004231/1.171, allocations: 272.2 kB / 1.34 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.171, allocations: 98.78 kB / 1.34 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/1.174, allocations: 1.85 MB / 1.342 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.174, allocations: 3.984 kB / 1.342 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.174, allocations: 0 / 1.342 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/1.175, allocations: 367.6 kB / 1.342 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.175, allocations: 19.91 kB / 1.342 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.177, allocations: 231.6 kB / 1.342 GB, free: 2.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.177, allocations: 64.45 kB / 1.342 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003597/1.181, allocations: 2.142 MB / 1.344 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002777/1.183, allocations: 2.138 MB / 1.346 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001138/1.184, allocations: 0.8248 MB / 1.347 GB, free: 13.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001039/1.186, allocations: 0.6122 MB / 1.348 GB, free: 12.63 MB / 1.076 GB Notification: Performance of Backend: time 1.092e-06/1.186, allocations: 0 / 1.348 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005353/1.191, allocations: 2.451 MB / 1.35 GB, free: 10.18 MB / 1.076 GB Notification: Performance of SimCode: time 0.008681/1.2, allocations: 4.366 MB / 1.354 GB, free: 5.77 MB / 1.076 GB Notification: Performance of Templates: time 0.04621/1.246, allocations: 29.89 MB / 1.384 GB, free: 8.082 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches