Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",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.001213/0.001213, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001298, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437.1 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 0.8688 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5782, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2316/0.8098, allocations: 234.7 MB / 1.246 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5364/1.346, allocations: 15.66 MB / 1.261 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/1.349, allocations: 56.03 kB / 1.261 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/1.351, allocations: 0.917 MB / 1.262 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007755/1.359, allocations: 2.799 MB / 1.265 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/1.363, allocations: 1.534 MB / 1.267 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00581/1.369, allocations: 3.445 MB / 1.27 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/1.372, allocations: 1.25 MB / 1.271 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/1.379, allocations: 2.49 MB / 1.274 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/1.382, allocations: 1.14 MB / 1.275 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/1.382, allocations: 121.8 kB / 1.275 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007227/1.39, allocations: 3.266 MB / 1.278 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007212/1.39, allocations: 484 kB / 1.278 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/1.392, allocations: 0.8145 MB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006488/1.398, allocations: 3.144 MB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.398, allocations: 4.156 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/1.398, allocations: 0 / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.398, allocations: 1.203 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003749/1.402, allocations: 2.002 MB / 1.284 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.402, allocations: 13.59 kB / 1.284 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/1.402, allocations: 151.8 kB / 1.284 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/1.405, allocations: 0.5007 MB / 1.285 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.408, allocations: 1.117 MB / 1.286 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008936/1.408, allocations: 240.2 kB / 1.286 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/1.409, allocations: 100 kB / 1.286 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/1.411, allocations: 1.323 MB / 1.288 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/1.411, allocations: 6.188 kB / 1.288 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/1.411, allocations: 39.28 kB / 1.288 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/1.411, allocations: 45.8 kB / 1.288 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/1.413, allocations: 1.076 MB / 1.289 GB, free: 15.64 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006845/1.42, allocations: 6.625 MB / 1.295 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/1.422, allocations: 0.5629 MB / 1.296 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/1.422, allocations: 270 kB / 1.296 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/1.423, allocations: 280.8 kB / 1.296 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.423, allocations: 37.78 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/1.423, allocations: 2.047 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00224/1.425, allocations: 0.8734 MB / 1.297 GB, free: 11.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.425, allocations: 53.94 kB / 1.297 GB, free: 10.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.427, allocations: 1.359 MB / 1.299 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/1.427, allocations: 36.05 kB / 1.299 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/1.427, allocations: 0.6858 MB / 1.299 GB, free: 10.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/1.427, allocations: 119.2 kB / 1.299 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/1.427, allocations: 148.7 kB / 1.3 GB, free: 10.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.428, allocations: 334.1 kB / 1.3 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/1.428, allocations: 315.3 kB / 1.3 GB, free: 10.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/1.429, allocations: 0.6271 MB / 1.301 GB, free: 9.723 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.431, allocations: 0.8606 MB / 1.302 GB, free: 9.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.431, allocations: 3.25 kB / 1.302 GB, free: 9.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002065/1.433, allocations: 0.9917 MB / 1.303 GB, free: 9.262 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.433, allocations: 14.19 kB / 1.303 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.433, allocations: 12.38 kB / 1.303 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.433, allocations: 14.47 kB / 1.303 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/1.434, allocations: 194.5 kB / 1.303 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.434, allocations: 22.22 kB / 1.303 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.435, allocations: 215.5 kB / 1.303 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/1.435, allocations: 34.92 kB / 1.303 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/1.437, allocations: 0.5636 MB / 1.304 GB, free: 9.094 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009667/1.438, allocations: 0.621 MB / 1.304 GB, free: 8.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/1.439, allocations: 0.8603 MB / 1.305 GB, free: 8.332 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.132e-06/1.439, allocations: 3.594 kB / 1.305 GB, free: 8.332 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002251/1.441, allocations: 0.9896 MB / 1.306 GB, free: 8.207 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.442, allocations: 11.88 kB / 1.306 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.442, allocations: 10.03 kB / 1.306 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.442, allocations: 18.06 kB / 1.306 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/1.442, allocations: 196.3 kB / 1.306 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.442, allocations: 22.48 kB / 1.306 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.444, allocations: 166.2 kB / 1.306 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/1.444, allocations: 37.34 kB / 1.307 GB, free: 8.156 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0002351/1.444, allocations: 225.6 kB / 1.307 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.444, allocations: 138.4 kB / 1.307 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/1.446, allocations: 0.6578 MB / 1.308 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.446, allocations: 2.719 kB / 1.308 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.446, allocations: 0 / 1.308 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.446, allocations: 3.281 kB / 1.308 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.449, allocations: 1.931 MB / 1.309 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.449, allocations: 3.406 kB / 1.309 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/1.45, allocations: 99.55 kB / 1.309 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.45, allocations: 6.5 kB / 1.309 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.45, allocations: 15.36 kB / 1.31 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.45, allocations: 9.219 kB / 1.31 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.45, allocations: 8.281 kB / 1.31 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.451, allocations: 0.811 MB / 1.31 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/1.452, allocations: 303.5 kB / 1.311 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.452, allocations: 15.45 kB / 1.311 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.453, allocations: 106.8 kB / 1.311 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/1.453, allocations: 34.69 kB / 1.311 GB, free: 6.762 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/1.453, allocations: 21.38 kB / 1.311 GB, free: 6.762 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001278/1.454, allocations: 0.995 MB / 1.312 GB, free: 6.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.454, allocations: 0 / 1.312 GB, free: 6.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001603/1.456, allocations: 0.5652 MB / 1.312 GB, free: 6.602 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002192/1.458, allocations: 1.53 MB / 1.314 GB, free: 5.684 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.461, allocations: 1.112 MB / 1.315 GB, free: 5.641 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.461, allocations: 0 / 1.315 GB, free: 5.641 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.461, allocations: 264.5 kB / 1.315 GB, free: 5.637 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.465, allocations: 0.7505 MB / 1.316 GB, free: 5.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.484, allocations: 10.71 MB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/1.485, allocations: 1.18 MB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001945/1.487, allocations: 364.9 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.488, allocations: 0.4904 MB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of SimCode: time 1.222e-06/1.488, allocations: 0 / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07865/1.566, allocations: 34.75 MB / 1.362 GB, free: 1.125 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.567, allocations: 243.8 kB / 1.362 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/4.16, allocations: 0 / 1.362 GB, free: 0.8672 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches