Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00114/0.00114, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5802, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001747/0.582, allocations: 0.5935 MB / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.5821, allocations: 11.98 kB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.5821, allocations: 4 kB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.5822, allocations: 0 / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.5823, allocations: 3.938 kB / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.214e-06/0.5823, allocations: 3.938 kB / 1.017 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.5824, allocations: 11.98 kB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.5824, allocations: 3.984 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.5825, allocations: 4 kB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.5825, allocations: 3.938 kB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.5825, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.5825, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.5825, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.5826, allocations: 8 kB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.536e-05/0.5826, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5826, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5826, allocations: 3.938 kB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5826, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003199/0.5829, allocations: 323.5 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.583, allocations: 12.03 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.583, allocations: 34.75 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.5831, allocations: 0.9375 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.5832, allocations: 164.4 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5832, allocations: 384 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.5832, allocations: 384 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.5833, allocations: 43.97 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5833, allocations: 3.938 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.5833, allocations: 4 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5833, allocations: 3.984 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.5834, allocations: 7.938 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.5835, allocations: 166.5 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.5836, allocations: 41.22 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.5836, allocations: 9.719 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5836, allocations: 4.062 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5837, allocations: 34.56 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5837, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.5838, allocations: 49.56 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5839, allocations: 81.11 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.5839, allocations: 89.86 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.584, allocations: 29.7 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.584, allocations: 80.52 kB / 1.018 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.584, allocations: 10.16 kB / 1.018 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.5841, allocations: 13.72 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5842, allocations: 314.8 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.5842, allocations: 4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.5842, allocations: 13.72 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.5843, allocations: 25.72 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5843, allocations: 3.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.564e-05/0.5843, allocations: 45.62 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5844, allocations: 10.12 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5844, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5844, allocations: 4 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.5845, allocations: 0 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5845, allocations: 4 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.5845, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5845, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.52e-05/0.5846, allocations: 110.4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.5846, allocations: 7.938 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5847, allocations: 48.75 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5847, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5847, allocations: 3.984 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5847, allocations: 0 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.5848, allocations: 149.7 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5849, allocations: 4.062 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.5849, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5849, allocations: 3.938 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5849, allocations: 3.984 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.585, allocations: 4 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.585, allocations: 0 / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.686e-05/0.585, allocations: 73.84 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.5851, allocations: 81.09 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.5851, allocations: 7.938 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.5851, allocations: 0 / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.5852, allocations: 0 / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5852, allocations: 8 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.5853, allocations: 75.28 kB / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5853, allocations: 0 / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.5855, allocations: 4 kB / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003521/0.5858, allocations: 0.6094 MB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.055e-05/0.5859, allocations: 8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5859, allocations: 160 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.5859, allocations: 19.92 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.5861, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.5863, allocations: 117.2 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.5866, allocations: 0.677 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.5866, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.5866, allocations: 11.38 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5866, allocations: 4.125 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.687, allocations: 0.7911 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.6872, allocations: 202.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.512, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches