Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001334/0.001334, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.0015/0.001501, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9312, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02613/0.9573, allocations: 20.43 MB / 1.109 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.9734, allocations: 7.694 MB / 1.116 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.9765, allocations: 61.22 kB / 1.116 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.9808, allocations: 1.357 MB / 1.117 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.9845, allocations: 1.018 MB / 1.118 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.9907, allocations: 1.997 MB / 1.12 GB, free: 136 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007234/0.998, allocations: 4.338 MB / 1.125 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/1.01, allocations: 6.157 MB / 1.131 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/1.014, allocations: 1.865 MB / 1.132 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005585/1.02, allocations: 2.196 MB / 1.135 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001948/1.022, allocations: 427.2 kB / 1.135 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/1.026, allocations: 0.9441 MB / 1.136 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00468/1.031, allocations: 1.66 MB / 1.138 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006342/1.037, allocations: 1.71 MB / 1.139 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.049, allocations: 6.192 MB / 1.145 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.049, allocations: 1.125 kB / 1.145 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.644e-06/1.049, allocations: 3.938 kB / 1.145 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001997/1.05, allocations: 0 / 1.145 GB, free: 6.109 MB / 0.8887 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.01185/1.061, allocations: 3.039 MB / 1.148 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.061, allocations: 9.891 kB / 1.148 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/1.066, allocations: 0.7468 MB / 1.149 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.071, allocations: 1.574 MB / 1.151 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/1.071, allocations: 223.7 kB / 1.151 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/1.072, allocations: 283.2 kB / 1.151 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.086, allocations: 5.081 MB / 1.156 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/1.086, allocations: 12.81 kB / 1.156 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000996/1.087, allocations: 123.7 kB / 1.156 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003291/1.088, allocations: 210.4 kB / 1.156 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009347/1.097, allocations: 4.223 MB / 1.16 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/1.131, allocations: 22.92 MB / 1.183 GB, free: 8.434 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/1.134, allocations: 1.734 MB / 1.185 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.136, allocations: 1.152 MB / 1.186 GB, free: 6.855 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/1.136, allocations: 103.5 kB / 1.186 GB, free: 6.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.136, allocations: 47.34 kB / 1.186 GB, free: 6.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/1.136, allocations: 0 / 1.186 GB, free: 6.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.00874/1.145, allocations: 4.013 MB / 1.19 GB, free: 4.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.145, allocations: 137.2 kB / 1.19 GB, free: 3.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.146, allocations: 0.8681 MB / 1.191 GB, free: 3.074 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/1.146, allocations: 37.7 kB / 1.191 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/1.147, allocations: 1.166 MB / 1.192 GB, free: 1.848 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.147, allocations: 315.6 kB / 1.192 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/1.148, allocations: 270.6 kB / 1.192 GB, free: 1.266 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.148, allocations: 406.7 kB / 1.193 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.149, allocations: 0.8256 MB / 1.194 GB, free: 28 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.151, allocations: 1.307 MB / 1.195 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/1.154, allocations: 2.171 MB / 1.197 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.154, allocations: 4 kB / 1.197 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003752/1.157, allocations: 2.218 MB / 1.199 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.157, allocations: 12 kB / 1.199 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.157, allocations: 12 kB / 1.199 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/1.158, allocations: 20 kB / 1.199 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.159, allocations: 419.9 kB / 1.2 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-05/1.159, allocations: 35.84 kB / 1.2 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.161, allocations: 207.3 kB / 1.2 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.161, allocations: 59.98 kB / 1.2 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003084/1.164, allocations: 1.681 MB / 1.202 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001514/1.166, allocations: 1.194 MB / 1.203 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002607/1.168, allocations: 1.898 MB / 1.205 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.751e-05/1.168, allocations: 7.938 kB / 1.205 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003338/1.172, allocations: 1.93 MB / 1.206 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.172, allocations: 12.22 kB / 1.206 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/1.172, allocations: 20 kB / 1.206 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.172, allocations: 20 kB / 1.207 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.173, allocations: 363.3 kB / 1.207 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.965e-05/1.173, allocations: 31.92 kB / 1.207 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.175, allocations: 175.3 kB / 1.207 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.175, allocations: 63.98 kB / 1.207 GB, free: 1.32 MB / 0.9356 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.000451/1.175, allocations: 267.7 kB / 1.207 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.176, allocations: 110.9 kB / 1.207 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.179, allocations: 1.85 MB / 1.209 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/1.179, allocations: 7.984 kB / 1.209 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.179, allocations: 0 / 1.209 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/1.18, allocations: 363.6 kB / 1.21 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/1.18, allocations: 16 kB / 1.21 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.182, allocations: 235.6 kB / 1.21 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.182, allocations: 52.7 kB / 1.21 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003536/1.185, allocations: 2.142 MB / 1.212 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002852/1.188, allocations: 2.15 MB / 1.214 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001036/1.189, allocations: 0.8209 MB / 1.215 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001036/1.19, allocations: 0.6122 MB / 1.216 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of Backend: time 8.31e-07/1.19, allocations: 4 kB / 1.216 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005505/1.196, allocations: 2.451 MB / 1.218 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of SimCode: time 0.009181/1.205, allocations: 4.359 MB / 1.222 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of Templates: time 0.04572/1.251, allocations: 29.89 MB / 1.251 GB, free: 4.086 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches