Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.001108/0.001108, allocations: 191.7 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.25 kB / 0.9083 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01479/0.3755, allocations: 11.05 MB / 1.075 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6609/1.036, allocations: 5.752 MB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/1.038, allocations: 45.88 kB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0041/1.042, allocations: 1.624 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/1.046, allocations: 1.052 MB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/1.048, allocations: 0.7456 MB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003518/1.052, allocations: 2.13 MB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/1.054, allocations: 1.494 MB / 1.087 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/1.056, allocations: 0.8568 MB / 1.088 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/1.058, allocations: 0.9439 MB / 1.089 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/1.058, allocations: 114.3 kB / 1.089 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/1.061, allocations: 1.175 MB / 1.09 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007289/1.062, allocations: 0.5282 MB / 1.091 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.063, allocations: 0.7866 MB / 1.091 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003814/1.067, allocations: 1.887 MB / 1.093 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.067, allocations: 4.5 kB / 1.093 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/1.067, allocations: 0 / 1.093 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.22e-05/1.067, allocations: 0 / 1.093 GB, free: 8.855 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003868/1.071, allocations: 1.861 MB / 1.095 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.071, allocations: 10.66 kB / 1.095 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/1.076, allocations: 0.6622 MB / 1.096 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.078, allocations: 0.9172 MB / 1.097 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/1.078, allocations: 94.89 kB / 1.097 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/1.078, allocations: 136.4 kB / 1.097 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/1.082, allocations: 2.202 MB / 1.099 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/1.082, allocations: 18.47 kB / 1.099 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/1.082, allocations: 62.27 kB / 1.099 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/1.082, allocations: 165.7 kB / 1.099 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/1.086, allocations: 1.861 MB / 1.101 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/1.099, allocations: 12.48 MB / 1.113 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.104, allocations: 1.97 MB / 1.115 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.105, allocations: 0.6041 MB / 1.116 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/1.106, allocations: 100.8 kB / 1.116 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.106, allocations: 48.38 kB / 1.116 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 4.358e-06/1.106, allocations: 5.031 kB / 1.116 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.008032/1.114, allocations: 3.708 MB / 1.119 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.114, allocations: 68 kB / 1.12 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/1.116, allocations: 0.9198 MB / 1.12 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.116, allocations: 41.05 kB / 1.12 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/1.117, allocations: 0.7323 MB / 1.121 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/1.117, allocations: 385.8 kB / 1.122 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005887/1.118, allocations: 286 kB / 1.122 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.118, allocations: 306.8 kB / 1.122 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.119, allocations: 0.6126 MB / 1.123 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/1.12, allocations: 1.109 MB / 1.124 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/1.123, allocations: 1.824 MB / 1.126 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/1.123, allocations: 5.469 kB / 1.126 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004841/1.128, allocations: 2.1 MB / 1.128 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.128, allocations: 11.66 kB / 1.128 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/1.128, allocations: 20.31 kB / 1.128 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009223/1.129, allocations: 258.8 kB / 1.128 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.131, allocations: 373.6 kB / 1.128 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.141, allocations: 11.59 MB / 1.14 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.143, allocations: 122.7 kB / 1.14 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/1.144, allocations: 70.86 kB / 1.14 GB, free: 7.234 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.145, allocations: 416.7 kB / 1.14 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.145, allocations: 134.6 kB / 1.14 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/1.149, allocations: 1.68 MB / 1.142 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.149, allocations: 12.12 kB / 1.142 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.149, allocations: 1.859 kB / 1.142 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.149, allocations: 6.906 kB / 1.142 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/1.156, allocations: 3.288 MB / 1.145 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.156, allocations: 8.688 kB / 1.145 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/1.157, allocations: 223 kB / 1.145 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007819/1.157, allocations: 252.6 kB / 1.146 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.158, allocations: 24.09 kB / 1.146 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009915/1.167, allocations: 11.56 MB / 1.157 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.167, allocations: 8.906 kB / 1.157 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/1.171, allocations: 1.801 MB / 1.159 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.172, allocations: 309.8 kB / 1.159 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004493/1.172, allocations: 30.11 kB / 1.159 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.173, allocations: 86.27 kB / 1.159 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.174, allocations: 99.75 kB / 1.159 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/1.174, allocations: 39.28 kB / 1.159 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001193/1.175, allocations: 0.6166 MB / 1.16 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.175, allocations: 0 / 1.16 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002242/1.177, allocations: 396.6 kB / 1.16 GB, free: 7.695 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003218/1.178, allocations: 150.7 kB / 1.16 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005165/1.183, allocations: 2.878 MB / 1.163 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.183, allocations: 5.156 kB / 1.163 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/1.185, allocations: 1.622 MB / 1.165 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.188, allocations: 353.9 kB / 1.165 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/1.195, allocations: 3.483 MB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.196, allocations: 1.323 MB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/1.197, allocations: 120.1 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of SimCode: time 1.283e-06/1.197, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of Templates: time 0.07037/1.267, allocations: 59.18 MB / 1.228 GB, free: 11.38 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches