Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",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.006085/0.006085, allocations: 97.58 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.001755/0.001755, allocations: 186.5 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.87/2.87, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2908, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002293/0.2931, allocations: 1.328 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7213/1.014, allocations: 148.1 MB / 1.366 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/1.015, allocations: 0 / 1.366 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/1.015, allocations: 5.859 kB / 1.366 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/1.015, allocations: 18.52 kB / 1.366 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/1.016, allocations: 331.6 kB / 1.366 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/1.016, allocations: 59.52 kB / 1.366 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/1.016, allocations: 3.734 kB / 1.366 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/1.016, allocations: 35.14 kB / 1.366 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/1.016, allocations: 31.38 kB / 1.367 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/1.016, allocations: 2.625 kB / 1.367 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/1.017, allocations: 410.3 kB / 1.367 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/1.017, allocations: 22.31 kB / 1.367 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/1.017, allocations: 28.27 kB / 1.367 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/1.017, allocations: 159.8 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/1.017, allocations: 0 / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/1.017, allocations: 0 / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.017, allocations: 1.312 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005123/1.018, allocations: 390.6 kB / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.018, allocations: 10.23 kB / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/1.018, allocations: 38.73 kB / 1.368 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/1.018, allocations: 31.16 kB / 1.368 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.019, allocations: 175.4 kB / 1.368 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.019, allocations: 11.22 kB / 1.368 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/1.019, allocations: 13.48 kB / 1.368 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/1.019, allocations: 76.56 kB / 1.368 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.019, allocations: 0 / 1.368 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.019, allocations: 5.312 kB / 1.368 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.019, allocations: 1.969 kB / 1.368 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/1.019, allocations: 46.83 kB / 1.368 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/1.019, allocations: 184.9 kB / 1.368 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.019, allocations: 91.95 kB / 1.368 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/1.019, allocations: 32.66 kB / 1.368 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/1.02, allocations: 177.9 kB / 1.368 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.02, allocations: 36.73 kB / 1.368 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 4.869e-06/1.02, allocations: 3.984 kB / 1.368 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001306/1.021, allocations: 0.5513 MB / 1.369 GB, free: 13.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.021, allocations: 59.75 kB / 1.369 GB, free: 13.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/1.021, allocations: 102.5 kB / 1.369 GB, free: 13.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.021, allocations: 27.3 kB / 1.369 GB, free: 13.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/1.021, allocations: 85.55 kB / 1.369 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/1.021, allocations: 70.27 kB / 1.369 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/1.021, allocations: 43.5 kB / 1.369 GB, free: 13.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.022, allocations: 319.5 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/1.022, allocations: 37.8 kB / 1.37 GB, free: 12.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/1.022, allocations: 66.36 kB / 1.37 GB, free: 12.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/1.022, allocations: 112.6 kB / 1.37 GB, free: 12.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.022, allocations: 0 / 1.37 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002339/1.022, allocations: 163.3 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.022, allocations: 5.094 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.022, allocations: 3.781 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.022, allocations: 5.312 kB / 1.37 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/1.022, allocations: 33.48 kB / 1.37 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/1.022, allocations: 7.891 kB / 1.37 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/1.022, allocations: 9 kB / 1.37 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/1.022, allocations: 5.719 kB / 1.37 GB, free: 12.73 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001168/1.023, allocations: 126.2 kB / 1.37 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/1.023, allocations: 15.08 kB / 1.37 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/1.023, allocations: 17.84 kB / 1.37 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.023, allocations: 2.469 kB / 1.37 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.023, allocations: 0 / 1.37 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.023, allocations: 3.938 kB / 1.37 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.023, allocations: 196.1 kB / 1.37 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.023, allocations: 1.125 kB / 1.37 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/1.023, allocations: 38.56 kB / 1.37 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.023, allocations: 1.406 kB / 1.37 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.023, allocations: 1.344 kB / 1.37 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.023, allocations: 5.406 kB / 1.37 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.023, allocations: 0 / 1.37 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/1.023, allocations: 216 kB / 1.371 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/1.024, allocations: 88.75 kB / 1.371 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/1.024, allocations: 9.375 kB / 1.371 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.024, allocations: 10.75 kB / 1.371 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/1.024, allocations: 16.56 kB / 1.371 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/1.024, allocations: 11.97 kB / 1.371 GB, free: 12.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.141e-05/1.024, allocations: 84.55 kB / 1.371 GB, free: 12.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.371 GB, free: 12.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002262/1.024, allocations: 25.69 kB / 1.371 GB, free: 12.04 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.00065/1.025, allocations: 0.7499 MB / 1.372 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002071/1.025, allocations: 111.9 kB / 1.372 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.025, allocations: 0 / 1.372 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/1.025, allocations: 53.02 kB / 1.372 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/1.025, allocations: 19.62 kB / 1.372 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/1.027, allocations: 1.816 MB / 1.374 GB, free: 9.812 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.028, allocations: 0.6971 MB / 1.374 GB, free: 9.117 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.028, allocations: 28.09 kB / 1.374 GB, free: 9.105 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/1.028, allocations: 23.98 kB / 1.374 GB, free: 9.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.777e-06/1.028, allocations: 1.469 kB / 1.374 GB, free: 9.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/1.052, allocations: 2.432 MB / 1.377 GB, free: 8.629 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/9.135, allocations: 6.375 kB / 1.377 GB, free: 8.629 MB / 1.076 GB (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches