Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.001369/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001389/0.001389, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.25 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7658/1.055, allocations: 235.4 MB / 1.282 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01827/1.073, allocations: 15.93 MB / 1.298 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.076, allocations: 56.72 kB / 1.298 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/1.078, allocations: 0.8784 MB / 1.299 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/1.085, allocations: 2.802 MB / 1.301 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003875/1.089, allocations: 1.5 MB / 1.303 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005107/1.094, allocations: 4.652 MB / 1.307 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/1.095, allocations: 1.079 MB / 1.308 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/1.101, allocations: 2.263 MB / 1.311 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/1.104, allocations: 1.118 MB / 1.312 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/1.105, allocations: 63.25 kB / 1.312 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006551/1.111, allocations: 3.593 MB / 1.315 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006011/1.112, allocations: 427.7 kB / 1.316 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.113, allocations: 0.7597 MB / 1.316 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/1.118, allocations: 3.093 MB / 1.319 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.118, allocations: 0 / 1.319 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.32e-07/1.118, allocations: 0 / 1.319 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.118, allocations: 1.375 kB / 1.319 GB, free: 0.5117 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.003133/1.121, allocations: 1.997 MB / 1.321 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.121, allocations: 14.41 kB / 1.321 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/1.121, allocations: 161.5 kB / 1.322 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/1.124, allocations: 0.4921 MB / 1.322 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/1.126, allocations: 1.112 MB / 1.323 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007821/1.127, allocations: 249.5 kB / 1.323 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.127, allocations: 98.72 kB / 1.323 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/1.129, allocations: 1.322 MB / 1.325 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.129, allocations: 2.625 kB / 1.325 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/1.129, allocations: 43.72 kB / 1.325 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/1.129, allocations: 47.02 kB / 1.325 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/1.131, allocations: 1.071 MB / 1.326 GB, free: 14.57 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.006381/1.137, allocations: 6.627 MB / 1.332 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.139, allocations: 0.5694 MB / 1.333 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/1.139, allocations: 272.2 kB / 1.333 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/1.14, allocations: 286.8 kB / 1.333 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.14, allocations: 44.02 kB / 1.333 GB, free: 9.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/1.14, allocations: 0 / 1.333 GB, free: 9.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002154/1.142, allocations: 0.8548 MB / 1.334 GB, free: 9.859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.142, allocations: 60.41 kB / 1.334 GB, free: 9.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.143, allocations: 1.361 MB / 1.336 GB, free: 9.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/1.143, allocations: 34.86 kB / 1.336 GB, free: 9.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/1.144, allocations: 0.6848 MB / 1.336 GB, free: 9.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/1.144, allocations: 120.8 kB / 1.336 GB, free: 9.266 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.144, allocations: 147.3 kB / 1.337 GB, free: 9.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.144, allocations: 328.4 kB / 1.337 GB, free: 8.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/1.145, allocations: 313 kB / 1.337 GB, free: 8.914 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/1.146, allocations: 0.6283 MB / 1.338 GB, free: 8.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.147, allocations: 0.8519 MB / 1.339 GB, free: 8.148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.147, allocations: 2.156 kB / 1.339 GB, free: 8.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001943/1.149, allocations: 1.004 MB / 1.34 GB, free: 8.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.149, allocations: 8.094 kB / 1.34 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.149, allocations: 10.84 kB / 1.34 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.149, allocations: 10.19 kB / 1.34 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.15, allocations: 198.1 kB / 1.34 GB, free: 8.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.15, allocations: 24.02 kB / 1.34 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.152, allocations: 214 kB / 1.34 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/1.152, allocations: 35.42 kB / 1.34 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001056/1.153, allocations: 0.5685 MB / 1.341 GB, free: 7.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009669/1.154, allocations: 0.6277 MB / 1.341 GB, free: 7.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/1.155, allocations: 0.8461 MB / 1.342 GB, free: 7.082 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.061e-06/1.155, allocations: 3.828 kB / 1.342 GB, free: 7.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002048/1.157, allocations: 1.001 MB / 1.343 GB, free: 6.949 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.157, allocations: 13.5 kB / 1.343 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.157, allocations: 6.938 kB / 1.343 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/1.157, allocations: 16.06 kB / 1.343 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/1.158, allocations: 192.7 kB / 1.343 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.158, allocations: 25.92 kB / 1.343 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.159, allocations: 154.5 kB / 1.344 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/1.16, allocations: 44.06 kB / 1.344 GB, free: 6.902 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.0002299/1.16, allocations: 228.4 kB / 1.344 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/1.16, allocations: 134.1 kB / 1.344 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.162, allocations: 0.6688 MB / 1.345 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.162, allocations: 13.28 kB / 1.345 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.162, allocations: 0 / 1.345 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.162, allocations: 2.953 kB / 1.345 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/1.165, allocations: 1.925 MB / 1.346 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.165, allocations: 4.656 kB / 1.346 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/1.165, allocations: 99.36 kB / 1.347 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.165, allocations: 4.875 kB / 1.347 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.165, allocations: 14.83 kB / 1.347 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/1.165, allocations: 5.031 kB / 1.347 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.165, allocations: 8.281 kB / 1.347 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/1.167, allocations: 0.8243 MB / 1.347 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/1.167, allocations: 301.4 kB / 1.348 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.167, allocations: 13.06 kB / 1.348 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.169, allocations: 101.1 kB / 1.348 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/1.169, allocations: 39.28 kB / 1.348 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/1.169, allocations: 20.19 kB / 1.348 GB, free: 5.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001234/1.17, allocations: 0.9942 MB / 1.349 GB, free: 5.379 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.17, allocations: 4 kB / 1.349 GB, free: 5.375 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001663/1.172, allocations: 0.5648 MB / 1.349 GB, free: 5.328 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.002168/1.174, allocations: 1.514 MB / 1.351 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002454/1.176, allocations: 1.088 MB / 1.352 GB, free: 4.387 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.176, allocations: 0 / 1.352 GB, free: 4.387 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006141/1.177, allocations: 267.6 kB / 1.352 GB, free: 4.379 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.18, allocations: 0.7443 MB / 1.353 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.198, allocations: 10.73 MB / 1.363 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/1.199, allocations: 1.183 MB / 1.365 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001609/1.2, allocations: 365.1 kB / 1.365 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/1.201, allocations: 0.4884 MB / 1.365 GB, free: 14.04 MB / 1.029 GB Notification: Performance of SimCode: time 5.72e-07/1.201, allocations: 0 / 1.365 GB, free: 14.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7996/2, allocations: 34.16 MB / 1.399 GB, free: 3.152 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/2.001, allocations: 249.1 kB / 1.399 GB, free: 2.891 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/4.571, allocations: 0 / 1.399 GB, free: 2.891 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches