Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001458/0.001458, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 68.33 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4869/0.7956, allocations: 36.93 MB / 1.1 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.8177, allocations: 13.57 MB / 1.113 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.8215, allocations: 93.5 kB / 1.114 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006028/0.8276, allocations: 2.116 MB / 1.116 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.832, allocations: 1.324 MB / 1.117 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009309/0.8413, allocations: 3.285 MB / 1.12 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008884/0.8502, allocations: 6.418 MB / 1.126 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01911/0.8694, allocations: 11.97 MB / 1.138 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.8751, allocations: 2.755 MB / 1.141 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006638/0.8818, allocations: 3.373 MB / 1.144 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.884, allocations: 0.624 MB / 1.145 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.8877, allocations: 1.258 MB / 1.146 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004458/0.8922, allocations: 2.478 MB / 1.148 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006319/0.8985, allocations: 2.549 MB / 1.151 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.9094, allocations: 7.909 MB / 1.159 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.9095, allocations: 0 / 1.159 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9095, allocations: 3.938 kB / 1.159 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002941/0.9098, allocations: 1.375 kB / 1.159 GB, free: 5.207 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01388/0.9237, allocations: 4.304 MB / 1.163 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9237, allocations: 9.469 kB / 1.163 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.9289, allocations: 1.029 MB / 1.164 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/0.9329, allocations: 2.195 MB / 1.166 GB, free: 416 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.9331, allocations: 326.5 kB / 1.166 GB, free: 264 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/0.9338, allocations: 430.5 kB / 1.167 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.9475, allocations: 7.402 MB / 1.174 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.9476, allocations: 15.88 kB / 1.174 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005141/0.9481, allocations: 180 kB / 1.174 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/0.9485, allocations: 294.9 kB / 1.174 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.9604, allocations: 6.022 MB / 1.18 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04263/1.003, allocations: 32.71 MB / 1.212 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/1.007, allocations: 2.146 MB / 1.214 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.009, allocations: 1.248 MB / 1.215 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/1.009, allocations: 102.1 kB / 1.216 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.009, allocations: 47.56 kB / 1.216 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=98): time 3.888e-06/1.009, allocations: 4 kB / 1.216 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101): time 0.008651/1.018, allocations: 5.27 MB / 1.221 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/1.018, allocations: 153.4 kB / 1.221 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/1.02, allocations: 1.464 MB / 1.222 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.02, allocations: 41.7 kB / 1.222 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.021, allocations: 1.867 MB / 1.224 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/1.022, allocations: 378.9 kB / 1.225 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/1.023, allocations: 463.1 kB / 1.225 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.023, allocations: 301.1 kB / 1.225 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.025, allocations: 1.149 MB / 1.226 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/1.027, allocations: 2.211 MB / 1.229 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/1.032, allocations: 3.431 MB / 1.232 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/1.032, allocations: 12 kB / 1.232 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005486/1.037, allocations: 3.374 MB / 1.235 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.037, allocations: 18.19 kB / 1.235 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.322e-05/1.038, allocations: 36 kB / 1.235 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/1.038, allocations: 48 kB / 1.235 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.04, allocations: 0.6277 MB / 1.236 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.245e-05/1.04, allocations: 71.94 kB / 1.236 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.042, allocations: 334.7 kB / 1.236 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.043, allocations: 116 kB / 1.236 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00424/1.047, allocations: 2.432 MB / 1.239 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002455/1.049, allocations: 2.046 MB / 1.241 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003964/1.053, allocations: 3.064 MB / 1.244 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.228e-05/1.053, allocations: 12 kB / 1.244 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005178/1.058, allocations: 2.984 MB / 1.247 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.059, allocations: 27.92 kB / 1.247 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/1.059, allocations: 32.06 kB / 1.247 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/1.059, allocations: 52 kB / 1.247 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.061, allocations: 0.5615 MB / 1.247 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.401e-05/1.061, allocations: 71.72 kB / 1.247 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.063, allocations: 255.2 kB / 1.248 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/1.063, allocations: 123.9 kB / 1.248 GB, free: 8.902 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005668/1.064, allocations: 331.4 kB / 1.248 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/1.064, allocations: 162.1 kB / 1.248 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/1.068, allocations: 2.242 MB / 1.25 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.068, allocations: 11.94 kB / 1.25 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.068, allocations: 8 kB / 1.25 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.068, allocations: 7.969 kB / 1.25 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.085, allocations: 10.98 MB / 1.261 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.085, allocations: 12 kB / 1.261 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.087, allocations: 395.4 kB / 1.262 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/1.087, allocations: 16 kB / 1.262 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/1.087, allocations: 28 kB / 1.262 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/1.087, allocations: 23.92 kB / 1.262 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/1.087, allocations: 19.88 kB / 1.262 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/1.091, allocations: 2.759 MB / 1.264 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008704/1.092, allocations: 446.9 kB / 1.265 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/1.092, allocations: 39.92 kB / 1.265 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.093, allocations: 171.7 kB / 1.265 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.093, allocations: 108.2 kB / 1.265 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/1.093, allocations: 40 kB / 1.265 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001608/1.095, allocations: 1.005 MB / 1.266 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.095, allocations: 0 / 1.266 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004258/1.099, allocations: 1.133 MB / 1.267 GB, free: 4.539 MB / 0.9825 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 (104): * Single equations (assignments): 104 * 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.0002905/1.1, allocations: 154.9 kB / 1.267 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006975/1.107, allocations: 4.297 MB / 1.272 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.107, allocations: 0 / 1.272 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.108, allocations: 1.055 MB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.111, allocations: 459.7 kB / 1.273 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.125, allocations: 9.443 MB / 1.282 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/1.128, allocations: 2.95 MB / 1.285 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/1.129, allocations: 139.4 kB / 1.285 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of SimCode: time 5.92e-07/1.129, allocations: 0 / 1.285 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of Templates: time 0.06021/1.189, allocations: 41.14 MB / 1.325 GB, free: 8.859 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches