Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_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.006204/0.006204, allocations: 97.89 kB / 15.73 MB, free: 5.996 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.002023/0.002023, allocations: 186.6 kB / 16.67 MB, free: 5.926 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.317/2.317, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.227, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001771/0.2289, allocations: 1.258 MB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.564/0.7928, allocations: 137.7 MB / 1.302 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.7929, allocations: 1.781 kB / 1.302 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.7929, allocations: 4.703 kB / 1.302 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.793, allocations: 5.391 kB / 1.302 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.794, allocations: 462.3 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.7941, allocations: 39 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 2.883e-05/0.7941, allocations: 3.844 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.7941, allocations: 21.25 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.7942, allocations: 21.81 kB / 1.302 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.7942, allocations: 6.5 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.7955, allocations: 0.8281 MB / 1.303 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.7955, allocations: 7.359 kB / 1.303 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.7955, allocations: 19.3 kB / 1.303 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.796, allocations: 443.7 kB / 1.304 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7961, allocations: 0 / 1.304 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7961, allocations: 0.6562 kB / 1.304 GB, free: 13.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7961, allocations: 0 / 1.304 GB, free: 13.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004486/0.7965, allocations: 372.6 kB / 1.304 GB, free: 12.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.7966, allocations: 13.39 kB / 1.304 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.7966, allocations: 40.69 kB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.7967, allocations: 12.8 kB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7969, allocations: 162.6 kB / 1.304 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.7969, allocations: 1.875 kB / 1.304 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.7969, allocations: 15.34 kB / 1.304 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.797, allocations: 54.94 kB / 1.304 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.797, allocations: 0 / 1.304 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.797, allocations: 4.641 kB / 1.304 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7971, allocations: 1.781 kB / 1.304 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.7971, allocations: 21.77 kB / 1.304 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.7973, allocations: 170 kB / 1.304 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.7974, allocations: 55.09 kB / 1.305 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.7974, allocations: 24.22 kB / 1.305 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009741/0.8072, allocations: 3.2 MB / 1.308 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.8072, allocations: 30.56 kB / 1.308 GB, free: 11.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.8072, allocations: 0.8438 kB / 1.308 GB, free: 11.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.03825/0.8455, allocations: 15.01 MB / 1.322 GB, free: 9.781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.8455, allocations: 53.81 kB / 1.322 GB, free: 9.719 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.8456, allocations: 97.58 kB / 1.323 GB, free: 9.617 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.8456, allocations: 30.17 kB / 1.323 GB, free: 9.586 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.8457, allocations: 85.2 kB / 1.323 GB, free: 9.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.8457, allocations: 47.75 kB / 1.323 GB, free: 9.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.8458, allocations: 28.91 kB / 1.323 GB, free: 9.453 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8459, allocations: 321.7 kB / 1.323 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.8459, allocations: 24.56 kB / 1.323 GB, free: 9.137 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.846, allocations: 22.25 kB / 1.323 GB, free: 9.137 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.8461, allocations: 61.33 kB / 1.323 GB, free: 9.125 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.8461, allocations: 1.094 kB / 1.323 GB, free: 9.125 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001803/0.8463, allocations: 101.5 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.8463, allocations: 5.594 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.8463, allocations: 0 / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.8463, allocations: 1.125 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.8464, allocations: 25.95 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.8464, allocations: 1.25 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.8465, allocations: 3.125 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.8465, allocations: 3.969 kB / 1.323 GB, free: 9.09 MB / 1.014 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 9.052e-05/0.8466, allocations: 127.2 kB / 1.323 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.8466, allocations: 6.891 kB / 1.323 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.8469, allocations: 126.3 kB / 1.323 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8469, allocations: 1.062 kB / 1.323 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8469, allocations: 0 / 1.323 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8469, allocations: 5.344 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.847, allocations: 176.8 kB / 1.324 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.847, allocations: 3.562 kB / 1.324 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.8472, allocations: 27.81 kB / 1.324 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8472, allocations: 5.031 kB / 1.324 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.8472, allocations: 1.156 kB / 1.324 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8472, allocations: 1.188 kB / 1.324 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8472, allocations: 2.391 kB / 1.324 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.8474, allocations: 170.4 kB / 1.324 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.8475, allocations: 89.69 kB / 1.324 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.8475, allocations: 7 kB / 1.324 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8477, allocations: 10.86 kB / 1.324 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.8477, allocations: 6.562 kB / 1.324 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.8477, allocations: 9.156 kB / 1.324 GB, free: 8.523 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.8478, allocations: 76.47 kB / 1.324 GB, free: 8.449 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8478, allocations: 4.094 kB / 1.324 GB, free: 8.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/0.8489, allocations: 0.5647 MB / 1.325 GB, free: 8.422 MB / 1.014 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.002968/0.8518, allocations: 0.9341 MB / 1.326 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.852, allocations: 65.03 kB / 1.326 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.852, allocations: 1.344 kB / 1.326 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.8521, allocations: 36.88 kB / 1.326 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.8522, allocations: 13.34 kB / 1.326 GB, free: 7.781 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.8541, allocations: 1.548 MB / 1.327 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.8544, allocations: 0.6852 MB / 1.328 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.171e-05/0.8545, allocations: 24.73 kB / 1.328 GB, free: 5.812 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.8545, allocations: 22.16 kB / 1.328 GB, free: 5.805 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/0.8545, allocations: 0 / 1.328 GB, free: 5.805 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.13/2.984, allocations: 25.44 MB / 1.353 GB, free: 10.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/16.16, allocations: 17.33 kB / 1.353 GB, free: 10.14 MB / 1.029 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-10 Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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