Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.81 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2522, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01263/0.2649, allocations: 11.09 MB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008424/0.2733, allocations: 5.804 MB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.2739, allocations: 51.69 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.2777, allocations: 1.72 MB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.2799, allocations: 1.143 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.2816, allocations: 0.8174 MB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.2836, allocations: 2.119 MB / 1.086 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.285, allocations: 1.315 MB / 1.088 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/0.2859, allocations: 0.8484 MB / 1.088 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009738/0.2869, allocations: 0.9065 MB / 1.089 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.287, allocations: 116 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.2889, allocations: 1.177 MB / 1.091 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.2893, allocations: 0.522 MB / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.29, allocations: 0.7849 MB / 1.092 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.2924, allocations: 2.387 MB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2924, allocations: 4 kB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2924, allocations: 0 / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.2924, allocations: 0 / 1.094 GB, free: 15.28 MB / 0.8575 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.002521/0.2949, allocations: 1.864 MB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.295, allocations: 12.03 kB / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.2952, allocations: 215.4 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.2992, allocations: 0.6776 MB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3004, allocations: 0.9029 MB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.3005, allocations: 102.8 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.3007, allocations: 128.2 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.3035, allocations: 2.21 MB / 1.1 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3035, allocations: 7.938 kB / 1.1 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.3037, allocations: 63.92 kB / 1.1 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.3039, allocations: 166.2 kB / 1.1 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.3065, allocations: 1.863 MB / 1.102 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.3179, allocations: 12.47 MB / 1.114 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.322, allocations: 1.968 MB / 1.116 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008284/0.3229, allocations: 0.6089 MB / 1.117 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.323, allocations: 98.08 kB / 1.117 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3231, allocations: 51.5 kB / 1.117 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 5.19e-06/0.3231, allocations: 7.922 kB / 1.117 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.005513/0.3286, allocations: 3.706 MB / 1.121 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3287, allocations: 60.41 kB / 1.121 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.3297, allocations: 0.9242 MB / 1.122 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3297, allocations: 45.69 kB / 1.122 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.3302, allocations: 0.7198 MB / 1.122 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.3305, allocations: 394.5 kB / 1.123 GB, free: 496 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.3309, allocations: 283.2 kB / 1.123 GB, free: 204 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.331, allocations: 309.1 kB / 1.123 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/0.3319, allocations: 0.609 MB / 1.124 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3331, allocations: 1.105 MB / 1.125 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.3353, allocations: 1.828 MB / 1.127 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3353, allocations: 7.938 kB / 1.127 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00308/0.3384, allocations: 2.104 MB / 1.129 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3385, allocations: 16.03 kB / 1.129 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.3385, allocations: 12 kB / 1.129 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/0.3392, allocations: 262.6 kB / 1.129 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.3404, allocations: 367.4 kB / 1.129 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.349, allocations: 11.59 MB / 1.141 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.35, allocations: 127.8 kB / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3501, allocations: 71.98 kB / 1.141 GB, free: 12.19 MB / 0.9044 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.0005508/0.3506, allocations: 397.9 kB / 1.141 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.3509, allocations: 134.4 kB / 1.141 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.3535, allocations: 1.688 MB / 1.143 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3535, allocations: 12 kB / 1.143 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3535, allocations: 0 / 1.143 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.3536, allocations: 7.984 kB / 1.143 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.3584, allocations: 3.288 MB / 1.146 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.3584, allocations: 8 kB / 1.146 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3593, allocations: 219.6 kB / 1.147 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/0.36, allocations: 247.1 kB / 1.147 GB, free: 6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.36, allocations: 31.92 kB / 1.147 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009041/0.3691, allocations: 11.57 MB / 1.158 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.3691, allocations: 12.08 kB / 1.158 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3716, allocations: 1.799 MB / 1.16 GB, free: 7.359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.372, allocations: 311.4 kB / 1.16 GB, free: 7.035 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3722, allocations: 24 kB / 1.16 GB, free: 7.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.3729, allocations: 87.88 kB / 1.16 GB, free: 6.926 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.3731, allocations: 104.7 kB / 1.16 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.3731, allocations: 28 kB / 1.16 GB, free: 6.797 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008035/0.3739, allocations: 0.6255 MB / 1.161 GB, free: 6.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3739, allocations: 0 / 1.161 GB, free: 6.164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001462/0.3754, allocations: 388 kB / 1.161 GB, free: 5.785 MB / 0.92 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.003154/0.3786, allocations: 2.388 MB / 1.164 GB, free: 3.277 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004349/0.3829, allocations: 2.879 MB / 1.167 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.383, allocations: 0 / 1.167 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.385, allocations: 1.633 MB / 1.168 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.3866, allocations: 355.8 kB / 1.168 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.4019, allocations: 12.01 MB / 1.18 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009619/0.4029, allocations: 1.327 MB / 1.181 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009943/0.4039, allocations: 367.3 kB / 1.182 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.4046, allocations: 0.5344 MB / 1.182 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.4046, allocations: 0 / 1.182 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.283/3.688, allocations: 27.9 MB / 1.21 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/23.34, allocations: 11.41 kB / 1.21 GB, free: 3.461 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches