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.0007537/0.0007537, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00447/0.00447, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 13.92 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8329/1.1, allocations: 232.2 MB / 1.286 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02407/1.124, allocations: 15.74 MB / 1.301 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/1.127, allocations: 57.56 kB / 1.301 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/1.13, allocations: 0.8717 MB / 1.302 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008185/1.138, allocations: 2.801 MB / 1.305 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/1.142, allocations: 1.524 MB / 1.306 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005887/1.148, allocations: 4.653 MB / 1.311 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/1.15, allocations: 1.035 MB / 1.312 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006526/1.157, allocations: 2.21 MB / 1.314 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/1.161, allocations: 1.077 MB / 1.315 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004552/1.161, allocations: 47.19 kB / 1.315 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009028/1.17, allocations: 3.575 MB / 1.318 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007015/1.171, allocations: 395.8 kB / 1.319 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00177/1.173, allocations: 0.7516 MB / 1.319 GB, free: 17.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006116/1.179, allocations: 3.044 MB / 1.322 GB, free: 17.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.179, allocations: 0 / 1.322 GB, free: 17.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/1.179, allocations: 4 kB / 1.322 GB, free: 17.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.42e-05/1.179, allocations: 0 / 1.322 GB, free: 17.15 MB / 1.014 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.003889/1.183, allocations: 1.715 MB / 1.324 GB, free: 16.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.183, allocations: 13.31 kB / 1.324 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002792/1.183, allocations: 154.3 kB / 1.324 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/1.186, allocations: 0.5396 MB / 1.325 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.189, allocations: 1.12 MB / 1.326 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009416/1.19, allocations: 272.8 kB / 1.326 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/1.19, allocations: 96.25 kB / 1.326 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/1.192, allocations: 1.343 MB / 1.328 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.192, allocations: 5.594 kB / 1.328 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.192, allocations: 47.92 kB / 1.328 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/1.193, allocations: 52.16 kB / 1.328 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/1.195, allocations: 1.111 MB / 1.329 GB, free: 15.25 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.008391/1.203, allocations: 6.648 MB / 1.335 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.205, allocations: 0.6075 MB / 1.336 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/1.206, allocations: 285.9 kB / 1.336 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/1.206, allocations: 287.1 kB / 1.336 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.206, allocations: 37.56 kB / 1.336 GB, free: 10.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/1.206, allocations: 0 / 1.336 GB, free: 10.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002372/1.208, allocations: 0.9098 MB / 1.337 GB, free: 10.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/1.208, allocations: 58.28 kB / 1.337 GB, free: 10.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/1.21, allocations: 1.363 MB / 1.339 GB, free: 10.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/1.21, allocations: 35.61 kB / 1.339 GB, free: 10.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/1.211, allocations: 0.6784 MB / 1.339 GB, free: 10.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.211, allocations: 120.4 kB / 1.34 GB, free: 9.949 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/1.211, allocations: 57.11 kB / 1.34 GB, free: 9.934 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.211, allocations: 334.6 kB / 1.34 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008532/1.212, allocations: 326 kB / 1.34 GB, free: 9.617 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.213, allocations: 0.6388 MB / 1.341 GB, free: 9.211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/1.215, allocations: 0.8915 MB / 1.342 GB, free: 8.844 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.215, allocations: 6.266 kB / 1.342 GB, free: 8.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002281/1.217, allocations: 1.037 MB / 1.343 GB, free: 8.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.217, allocations: 368.1 kB / 1.343 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.217, allocations: 11.84 kB / 1.343 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.217, allocations: 15.56 kB / 1.343 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/1.218, allocations: 200 kB / 1.343 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/1.218, allocations: 23.2 kB / 1.343 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.22, allocations: 230 kB / 1.344 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/1.22, allocations: 37.47 kB / 1.344 GB, free: 8.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/1.22, allocations: 6.156 kB / 1.344 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001986/1.222, allocations: 0.8832 MB / 1.344 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.222, allocations: 13.59 kB / 1.344 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.222, allocations: 16.42 kB / 1.344 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/1.223, allocations: 207 kB / 1.345 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.223, allocations: 17.67 kB / 1.345 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.224, allocations: 196.9 kB / 1.345 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.224, allocations: 46.34 kB / 1.345 GB, free: 8.098 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.0005761/1.225, allocations: 412.9 kB / 1.345 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/1.225, allocations: 137.2 kB / 1.345 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.227, allocations: 0.6938 MB / 1.346 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.227, allocations: 2.844 kB / 1.346 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.227, allocations: 0 / 1.346 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.227, allocations: 9.812 kB / 1.346 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/1.23, allocations: 1.963 MB / 1.348 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.23, allocations: 2.938 kB / 1.348 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/1.231, allocations: 109.4 kB / 1.348 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.231, allocations: 3.156 kB / 1.348 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.231, allocations: 14.94 kB / 1.348 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.231, allocations: 11.36 kB / 1.348 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.231, allocations: 3.125 kB / 1.348 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/1.232, allocations: 0.8557 MB / 1.349 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/1.233, allocations: 300.1 kB / 1.349 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.233, allocations: 15.06 kB / 1.349 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.234, allocations: 110 kB / 1.349 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/1.234, allocations: 31.31 kB / 1.349 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/1.234, allocations: 22.91 kB / 1.349 GB, free: 6.684 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001378/1.236, allocations: 0.9969 MB / 1.35 GB, free: 6.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.236, allocations: 0 / 1.35 GB, free: 6.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001685/1.237, allocations: 0.5718 MB / 1.351 GB, free: 6.516 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.002255/1.24, allocations: 1.55 MB / 1.353 GB, free: 5.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002617/1.242, allocations: 1.151 MB / 1.354 GB, free: 5.551 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.242, allocations: 2.906 kB / 1.354 GB, free: 5.551 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/1.243, allocations: 276.5 kB / 1.354 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/1.247, allocations: 0.785 MB / 1.355 GB, free: 5.469 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.266, allocations: 10.86 MB / 1.365 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/1.267, allocations: 1.188 MB / 1.366 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001883/1.269, allocations: 364.3 kB / 1.367 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/1.27, allocations: 0.4981 MB / 1.367 GB, free: 14.75 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/1.27, allocations: 0 / 1.367 GB, free: 14.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.817/7.087, allocations: 36.07 MB / 1.402 GB, free: 4.027 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/7.087, allocations: 249.1 kB / 1.403 GB, free: 3.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/10.58, allocations: 0 / 1.403 GB, free: 3.766 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