Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 132 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.001128/0.001128, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5733, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001914/0.5752, allocations: 1.332 MB / 0.951 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.719, allocations: 148.1 MB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.7191, allocations: 0 / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.7192, allocations: 3.938 kB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.7193, allocations: 15.91 kB / 1.096 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7204, allocations: 326.6 kB / 1.096 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7205, allocations: 59.83 kB / 1.096 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.7205, allocations: 4 kB / 1.096 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.7206, allocations: 27.92 kB / 1.096 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.7207, allocations: 31.89 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.7207, allocations: 4 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.7215, allocations: 410.8 kB / 1.096 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.7216, allocations: 19.91 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.7217, allocations: 27.91 kB / 1.097 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.722, allocations: 161.8 kB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.722, allocations: 0 / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/0.722, allocations: 3.984 kB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.7221, allocations: 0 / 1.097 GB, free: 10.78 MB / 0.8575 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.0004951/0.7226, allocations: 395.3 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7226, allocations: 8.031 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.7227, allocations: 38.75 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/0.7231, allocations: 40.8 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7233, allocations: 172.1 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7233, allocations: 0 / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.7233, allocations: 12 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.7235, allocations: 85.52 kB / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7236, allocations: 4 kB / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.7236, allocations: 0 / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7236, allocations: 8 kB / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.7237, allocations: 43.95 kB / 1.097 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.7239, allocations: 189.4 kB / 1.098 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.7241, allocations: 90.62 kB / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.7242, allocations: 33.17 kB / 1.098 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.7244, allocations: 186.1 kB / 1.098 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7245, allocations: 34.56 kB / 1.098 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.7245, allocations: 0 / 1.098 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001311/0.7258, allocations: 0.533 MB / 1.098 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.7258, allocations: 59.34 kB / 1.099 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.7259, allocations: 101.8 kB / 1.099 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.7259, allocations: 37.64 kB / 1.099 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.7259, allocations: 80.52 kB / 1.099 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.726, allocations: 63.14 kB / 1.099 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.7261, allocations: 45.7 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.808e-05/0.7262, allocations: 318.8 kB / 1.099 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.7262, allocations: 35.98 kB / 1.099 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.7263, allocations: 69.03 kB / 1.099 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.7265, allocations: 115.3 kB / 1.099 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7265, allocations: 8 kB / 1.099 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002271/0.7267, allocations: 153.6 kB / 1.1 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7267, allocations: 4 kB / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7268, allocations: 0 / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7268, allocations: 11.97 kB / 1.1 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.727, allocations: 39.92 kB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.727, allocations: 3.938 kB / 1.1 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.727, allocations: 4 kB / 1.1 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.727, allocations: 8 kB / 1.1 GB, free: 7.461 MB / 0.8575 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 9.272e-05/0.7271, allocations: 125.8 kB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.7272, allocations: 8.031 kB / 1.1 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.7272, allocations: 16.44 kB / 1.1 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7272, allocations: 8 kB / 1.1 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7273, allocations: 3.938 kB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7273, allocations: 3.984 kB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7274, allocations: 193.6 kB / 1.1 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7274, allocations: 0 / 1.1 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.7276, allocations: 35.98 kB / 1.1 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7277, allocations: 0 / 1.1 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.7277, allocations: 8 kB / 1.1 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7277, allocations: 7.938 kB / 1.1 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.7277, allocations: 3.938 kB / 1.1 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.728, allocations: 211 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.7281, allocations: 93.06 kB / 1.1 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.7281, allocations: 4 kB / 1.1 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.7283, allocations: 8 kB / 1.1 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.7283, allocations: 15.92 kB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7283, allocations: 8 kB / 1.1 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.7283, allocations: 83.27 kB / 1.1 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7284, allocations: 0 / 1.1 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000233/0.7286, allocations: 24 kB / 1.1 GB, free: 6.52 MB / 0.8575 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.0005279/0.7291, allocations: 0.7549 MB / 1.101 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.7293, allocations: 123.8 kB / 1.101 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7294, allocations: 0 / 1.101 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.7294, allocations: 47.92 kB / 1.101 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7297, allocations: 25.48 kB / 1.101 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.7315, allocations: 1.805 MB / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.7317, allocations: 0.7047 MB / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.7319, allocations: 24.62 kB / 1.104 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.7319, allocations: 27.42 kB / 1.104 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.7319, allocations: 0 / 1.104 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.7504, allocations: 2.379 MB / 1.106 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.814, allocations: 7.172 kB / 1.106 GB, free: 0.5391 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches