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.007385/0.007385, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001327/0.001327, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9696/0.9709, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02501/0.9959, allocations: 20.43 MB / 1.108 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0159/1.012, allocations: 7.693 MB / 1.115 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/1.015, allocations: 64.88 kB / 1.115 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004302/1.02, allocations: 1.356 MB / 1.117 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/1.023, allocations: 1.009 MB / 1.118 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/1.03, allocations: 2.007 MB / 1.12 GB, free: 144 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006456/1.036, allocations: 4.325 MB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01263/1.049, allocations: 6.157 MB / 1.13 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/1.052, allocations: 1.874 MB / 1.132 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/1.057, allocations: 2.196 MB / 1.134 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/1.059, allocations: 427.7 kB / 1.134 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/1.063, allocations: 0.941 MB / 1.135 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003021/1.066, allocations: 1.66 MB / 1.137 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003357/1.069, allocations: 1.712 MB / 1.139 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/1.081, allocations: 6.194 MB / 1.145 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.081, allocations: 0 / 1.145 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/1.081, allocations: 0 / 1.145 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002189/1.081, allocations: 0 / 1.145 GB, free: 6.125 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.0112/1.092, allocations: 3.043 MB / 1.148 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.092, allocations: 9.188 kB / 1.148 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/1.097, allocations: 0.7524 MB / 1.148 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/1.1, allocations: 1.567 MB / 1.15 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/1.1, allocations: 224.1 kB / 1.15 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006094/1.101, allocations: 281.7 kB / 1.15 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/1.111, allocations: 5.085 MB / 1.155 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/1.111, allocations: 8.375 kB / 1.155 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003775/1.111, allocations: 124.9 kB / 1.155 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003514/1.111, allocations: 205.8 kB / 1.156 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009563/1.121, allocations: 4.226 MB / 1.16 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02974/1.151, allocations: 22.93 MB / 1.182 GB, free: 8.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/1.154, allocations: 1.733 MB / 1.184 GB, free: 7.484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.156, allocations: 1.148 MB / 1.185 GB, free: 6.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/1.156, allocations: 99.42 kB / 1.185 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.156, allocations: 47.28 kB / 1.185 GB, free: 6.715 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.386e-06/1.156, allocations: 0 / 1.185 GB, free: 6.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.007732/1.164, allocations: 4.012 MB / 1.189 GB, free: 4.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/1.164, allocations: 141.1 kB / 1.189 GB, free: 3.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.166, allocations: 0.8643 MB / 1.19 GB, free: 3.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.166, allocations: 41.7 kB / 1.19 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/1.166, allocations: 1.17 MB / 1.191 GB, free: 1.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/1.167, allocations: 311.6 kB / 1.191 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004544/1.167, allocations: 278.6 kB / 1.192 GB, free: 1.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.167, allocations: 402.7 kB / 1.192 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.169, allocations: 0.8257 MB / 1.193 GB, free: 48 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/1.17, allocations: 1.307 MB / 1.194 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/1.173, allocations: 2.167 MB / 1.196 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.173, allocations: 4 kB / 1.196 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003516/1.177, allocations: 2.214 MB / 1.198 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.177, allocations: 15.94 kB / 1.198 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.177, allocations: 12 kB / 1.198 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.924e-05/1.177, allocations: 24 kB / 1.199 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.178, allocations: 419.9 kB / 1.199 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.472e-05/1.178, allocations: 23.94 kB / 1.199 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.18, allocations: 211.3 kB / 1.199 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.18, allocations: 63.98 kB / 1.199 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002927/1.183, allocations: 1.681 MB / 1.201 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/1.184, allocations: 1.186 MB / 1.202 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002352/1.187, allocations: 1.909 MB / 1.204 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/1.187, allocations: 7.938 kB / 1.204 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003031/1.19, allocations: 1.926 MB / 1.206 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.19, allocations: 16.22 kB / 1.206 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.19, allocations: 16 kB / 1.206 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.19, allocations: 20 kB / 1.206 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.191, allocations: 363.4 kB / 1.206 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.191, allocations: 31.86 kB / 1.206 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.193, allocations: 179.3 kB / 1.206 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.193, allocations: 59.98 kB / 1.206 GB, free: 1.34 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.0004245/1.193, allocations: 267.8 kB / 1.207 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/1.193, allocations: 102.9 kB / 1.207 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/1.196, allocations: 1.854 MB / 1.209 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.196, allocations: 8 kB / 1.209 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.196, allocations: 8 kB / 1.209 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.196, allocations: 3.984 kB / 1.209 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.21, allocations: 9.588 MB / 1.218 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.21, allocations: 12 kB / 1.218 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.211, allocations: 311.5 kB / 1.218 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/1.211, allocations: 16 kB / 1.218 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/1.211, allocations: 28 kB / 1.218 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/1.211, allocations: 23.88 kB / 1.218 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/1.211, allocations: 23.86 kB / 1.218 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/1.214, allocations: 2.394 MB / 1.221 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/1.215, allocations: 379.5 kB / 1.221 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.215, allocations: 35.92 kB / 1.221 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/1.216, allocations: 143.7 kB / 1.221 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.217, allocations: 91.67 kB / 1.221 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/1.217, allocations: 36 kB / 1.221 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009198/1.218, allocations: 0.6161 MB / 1.222 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.218, allocations: 0 / 1.222 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003014/1.221, allocations: 0.75 MB / 1.223 GB, free: 232 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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 Backend phase and start with SimCode phase: time 0.0003252/1.221, allocations: 155 kB / 1.223 GB, free: 68 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004708/1.226, allocations: 2.901 MB / 1.226 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.226, allocations: 0 / 1.226 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.227, allocations: 0.9188 MB / 1.227 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.229, allocations: 320.8 kB / 1.227 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/1.238, allocations: 4.984 MB / 1.232 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.24, allocations: 2.131 MB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001936/1.242, allocations: 0.7461 MB / 1.235 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.242, allocations: 83.42 kB / 1.235 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.242, allocations: 0 / 1.235 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of Templates: time 0.03325/1.275, allocations: 18.27 MB / 1.252 GB, free: 1.68 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/jenkins/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