Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",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.00139/0.00139, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.508/2.508, allocations: 469.8 MB / 0.7424 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 65.92 kB / 0.9086 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2462, allocations: 159.2 MB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00203/0.2483, allocations: 1.256 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1374/0.3857, allocations: 137.7 MB / 1.2 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.3858, allocations: 0 / 1.2 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3858, allocations: 3.938 kB / 1.2 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.3859, allocations: 7.984 kB / 1.2 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3869, allocations: 462.3 kB / 1.2 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.387, allocations: 35.91 kB / 1.2 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.387, allocations: 4 kB / 1.2 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.3871, allocations: 31.84 kB / 1.2 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.3872, allocations: 15.98 kB / 1.2 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3872, allocations: 0 / 1.2 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.3884, allocations: 0.8037 MB / 1.201 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.3885, allocations: 19.91 kB / 1.201 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3885, allocations: 15.94 kB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.389, allocations: 443.4 kB / 1.202 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.389, allocations: 0 / 1.202 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.389, allocations: 0 / 1.202 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.389, allocations: 0 / 1.202 GB, free: 0.9688 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004442/0.3895, allocations: 375.4 kB / 1.202 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3895, allocations: 8.031 kB / 1.202 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.3896, allocations: 30.75 kB / 1.202 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.3897, allocations: 16.83 kB / 1.202 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3898, allocations: 176.3 kB / 1.202 GB, free: 288 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3899, allocations: 4.375 kB / 1.202 GB, free: 284 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3899, allocations: 7.938 kB / 1.202 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.39, allocations: 61.64 kB / 1.202 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.39, allocations: 0 / 1.202 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.39, allocations: 0 / 1.202 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.39, allocations: 4 kB / 1.202 GB, free: 204 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.3901, allocations: 19.92 kB / 1.202 GB, free: 184 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.3903, allocations: 169.7 kB / 1.202 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.3904, allocations: 58.42 kB / 1.202 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.3904, allocations: 12.86 kB / 1.202 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.4007, allocations: 3.166 MB / 1.206 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4007, allocations: 38.56 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.4007, allocations: 0 / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.03901/0.4397, allocations: 14.86 MB / 1.22 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4398, allocations: 51.41 kB / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.4399, allocations: 93.86 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4399, allocations: 29.7 kB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.4399, allocations: 84.27 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.44, allocations: 43.34 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.44, allocations: 29.72 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4402, allocations: 322.8 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.4402, allocations: 27.98 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.4403, allocations: 16 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.4404, allocations: 61.72 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4404, allocations: 4 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001992/0.4406, allocations: 106.6 kB / 1.221 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4406, allocations: 11.94 kB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4406, allocations: 0 / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4406, allocations: 0 / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.4407, allocations: 24 kB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4408, allocations: 7.984 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.4408, allocations: 0 / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4408, allocations: 4.234 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 8.118e-05/0.4409, allocations: 121.7 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.4409, allocations: 7.906 kB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.4412, allocations: 121.6 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4412, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4412, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4412, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4414, allocations: 177.6 kB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4414, allocations: 4 kB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4415, allocations: 31.92 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4415, allocations: 4 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4415, allocations: 3.938 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4415, allocations: 4 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4415, allocations: 0 / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4418, allocations: 157 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.4419, allocations: 89.22 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4419, allocations: 8 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4421, allocations: 15.98 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.4421, allocations: 7.984 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4421, allocations: 8 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.4421, allocations: 75.28 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.794e-06/0.4422, allocations: 0 / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001304/0.4435, allocations: 0.5663 MB / 1.222 GB, free: 11.12 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002888/0.4464, allocations: 0.9451 MB / 1.223 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.4465, allocations: 75.86 kB / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4465, allocations: 0 / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.4466, allocations: 35.92 kB / 1.223 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.4468, allocations: 13.53 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4487, allocations: 1.535 MB / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.449, allocations: 0.6924 MB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.433e-05/0.449, allocations: 20.55 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.4491, allocations: 27.42 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.4491, allocations: 0 / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.996/5.445, allocations: 25.39 MB / 1.25 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/20.76, allocations: 14.19 kB / 1.25 GB, free: 168.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-10 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=1.000000 File[406]=0.405000 " Variables in the reference:time,der(hVapSym),der(hVapCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpCod),der(cpSym),der(cvCod),der(cvSym),der(hVapCod),der(hVapSym),hVapCod,hVapSym,time