Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001395/0.001395, allocations: 114.3 kB / 16.42 MB, free: 5.953 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.001447/0.001447, allocations: 184.1 kB / 17.35 MB, free: 5.594 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.569/2.569, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9412/0.9428, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02543/0.9683, allocations: 20.43 MB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.9828, allocations: 7.694 MB / 1.195 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.9853, allocations: 59.81 kB / 1.195 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.9898, allocations: 1.36 MB / 1.196 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.9947, allocations: 1.019 MB / 1.197 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006609/1.001, allocations: 1.992 MB / 1.199 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006554/1.008, allocations: 4.343 MB / 1.203 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009883/1.018, allocations: 6.145 MB / 1.209 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/1.021, allocations: 1.866 MB / 1.211 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/1.026, allocations: 2.208 MB / 1.213 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/1.027, allocations: 428 kB / 1.214 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/1.03, allocations: 0.9402 MB / 1.215 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003172/1.033, allocations: 1.649 MB / 1.216 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003873/1.037, allocations: 1.72 MB / 1.218 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007714/1.045, allocations: 6.2 MB / 1.224 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.045, allocations: 3.938 kB / 1.224 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.873e-06/1.045, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001631/1.045, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9512 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.006503/1.052, allocations: 3.117 MB / 1.227 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.052, allocations: 8.031 kB / 1.227 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/1.055, allocations: 0.7678 MB / 1.228 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/1.058, allocations: 1.575 MB / 1.229 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/1.058, allocations: 214.2 kB / 1.23 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/1.059, allocations: 284.3 kB / 1.23 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008732/1.068, allocations: 5.082 MB / 1.235 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-05/1.068, allocations: 11.94 kB / 1.235 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/1.068, allocations: 124 kB / 1.235 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/1.068, allocations: 212.6 kB / 1.235 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/1.076, allocations: 4.221 MB / 1.239 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/1.104, allocations: 22.97 MB / 1.262 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/1.107, allocations: 1.727 MB / 1.263 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.109, allocations: 1.149 MB / 1.264 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.109, allocations: 105.7 kB / 1.265 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.109, allocations: 39.22 kB / 1.265 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/1.109, allocations: 0 / 1.265 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.007553/1.117, allocations: 4.11 MB / 1.269 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/1.117, allocations: 145.7 kB / 1.269 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.119, allocations: 0.8721 MB / 1.27 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.119, allocations: 41.7 kB / 1.27 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008582/1.12, allocations: 1.201 MB / 1.271 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/1.12, allocations: 325.3 kB / 1.271 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/1.12, allocations: 270.7 kB / 1.271 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.121, allocations: 410.7 kB / 1.272 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.122, allocations: 0.8257 MB / 1.273 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.124, allocations: 1.31 MB / 1.274 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/1.127, allocations: 2.171 MB / 1.276 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/1.127, allocations: 4 kB / 1.276 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003651/1.13, allocations: 2.211 MB / 1.278 GB, free: 15.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.13, allocations: 16 kB / 1.278 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.13, allocations: 12 kB / 1.278 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.13, allocations: 24 kB / 1.278 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.132, allocations: 415.3 kB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-05/1.132, allocations: 27.88 kB / 1.279 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.134, allocations: 227.3 kB / 1.279 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.134, allocations: 59.98 kB / 1.279 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00256/1.136, allocations: 1.677 MB / 1.281 GB, free: 12.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001452/1.138, allocations: 1.19 MB / 1.282 GB, free: 11.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002467/1.14, allocations: 1.91 MB / 1.284 GB, free: 9.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.136e-05/1.14, allocations: 8 kB / 1.284 GB, free: 9.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003177/1.143, allocations: 1.93 MB / 1.285 GB, free: 7.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.143, allocations: 12 kB / 1.285 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.143, allocations: 16 kB / 1.285 GB, free: 7.066 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.143, allocations: 24 kB / 1.286 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.145, allocations: 371.9 kB / 1.286 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.634e-05/1.145, allocations: 31.91 kB / 1.286 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.146, allocations: 179.4 kB / 1.286 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.146, allocations: 59.98 kB / 1.286 GB, free: 6.414 MB / 1.014 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.0003438/1.147, allocations: 267.8 kB / 1.286 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/1.147, allocations: 103.3 kB / 1.286 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.15, allocations: 1.854 MB / 1.288 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.15, allocations: 3.984 kB / 1.288 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.15, allocations: 0 / 1.288 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/1.151, allocations: 368.1 kB / 1.289 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/1.151, allocations: 19.95 kB / 1.289 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.152, allocations: 239.6 kB / 1.289 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.152, allocations: 52.53 kB / 1.289 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003339/1.156, allocations: 2.146 MB / 1.291 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002718/1.158, allocations: 2.147 MB / 1.293 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001047/1.159, allocations: 0.8247 MB / 1.294 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001022/1.16, allocations: 0.6161 MB / 1.295 GB, free: 13.72 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/1.16, allocations: 0 / 1.295 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005059/1.165, allocations: 2.446 MB / 1.297 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 0.007937/1.173, allocations: 4.433 MB / 1.301 GB, free: 6.809 MB / 1.029 GB Notification: Performance of Templates: time 0.04707/1.22, allocations: 29.88 MB / 1.33 GB, free: 9.113 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches