Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_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.007105/0.007105, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00168/0.00168, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002112/0.2721, allocations: 1.339 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6805/0.9526, allocations: 148.1 MB / 1.366 GB, free: 120 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.9527, allocations: 4 kB / 1.366 GB, free: 116 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.9528, allocations: 6.047 kB / 1.366 GB, free: 112 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.9529, allocations: 9.844 kB / 1.366 GB, free: 108 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.9543, allocations: 345.4 kB / 1.366 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.9544, allocations: 67.17 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.9545, allocations: 3.969 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.9546, allocations: 37.67 kB / 1.366 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.9547, allocations: 31.3 kB / 1.366 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.9547, allocations: 2.656 kB / 1.366 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.9557, allocations: 410.3 kB / 1.367 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.9558, allocations: 17.83 kB / 1.367 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.9559, allocations: 29.59 kB / 1.367 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.9564, allocations: 151.7 kB / 1.367 GB, free: 15.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9564, allocations: 4 kB / 1.367 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9564, allocations: 1.625 kB / 1.367 GB, free: 15.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9564, allocations: 0 / 1.367 GB, free: 15.64 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.0005786/0.957, allocations: 395.3 kB / 1.367 GB, free: 15.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.957, allocations: 10.5 kB / 1.367 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.9571, allocations: 34.73 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.9575, allocations: 35.88 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.9577, allocations: 175.1 kB / 1.367 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.9577, allocations: 11.53 kB / 1.367 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.9578, allocations: 10.12 kB / 1.367 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.958, allocations: 75.28 kB / 1.367 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.958, allocations: 0.6094 kB / 1.367 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.958, allocations: 5.125 kB / 1.367 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.958, allocations: 1.219 kB / 1.367 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.9581, allocations: 47.77 kB / 1.367 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.9583, allocations: 190.1 kB / 1.368 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.9586, allocations: 98.16 kB / 1.368 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.9586, allocations: 29.95 kB / 1.368 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.9589, allocations: 177.8 kB / 1.368 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.9589, allocations: 31.81 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.9589, allocations: 4 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001342/0.9603, allocations: 0.55 MB / 1.369 GB, free: 14.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.9603, allocations: 53.94 kB / 1.369 GB, free: 14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.9604, allocations: 103 kB / 1.369 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.9604, allocations: 31.92 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.9605, allocations: 85.72 kB / 1.369 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.9605, allocations: 72.64 kB / 1.369 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.9606, allocations: 38.58 kB / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.9607, allocations: 320 kB / 1.369 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.9608, allocations: 34.77 kB / 1.369 GB, free: 13.37 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.9609, allocations: 71.92 kB / 1.369 GB, free: 13.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.961, allocations: 118 kB / 1.369 GB, free: 13.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.961, allocations: 0 / 1.369 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002287/0.9613, allocations: 153.5 kB / 1.37 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9613, allocations: 10.53 kB / 1.37 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9613, allocations: 1.375 kB / 1.37 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9613, allocations: 1.469 kB / 1.37 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.9615, allocations: 44.05 kB / 1.37 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9615, allocations: 5.234 kB / 1.37 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.9616, allocations: 5.375 kB / 1.37 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.9616, allocations: 9.469 kB / 1.37 GB, free: 13.16 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 8.985e-05/0.9617, allocations: 122.8 kB / 1.37 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.9617, allocations: 12.58 kB / 1.37 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.9618, allocations: 17.5 kB / 1.37 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9618, allocations: 5.375 kB / 1.37 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9618, allocations: 0 / 1.37 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9618, allocations: 11.92 kB / 1.37 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.962, allocations: 189 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.962, allocations: 0 / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.9622, allocations: 43.91 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9622, allocations: 1.219 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.9622, allocations: 2.312 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9623, allocations: 1.281 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9623, allocations: 1.688 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.9626, allocations: 222.1 kB / 1.37 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.9627, allocations: 92.05 kB / 1.37 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.9627, allocations: 4.062 kB / 1.37 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.9628, allocations: 3.781 kB / 1.37 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.9629, allocations: 33.09 kB / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9629, allocations: 3.75 kB / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.9629, allocations: 76.75 kB / 1.37 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9629, allocations: 0 / 1.37 GB, free: 12.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002353/0.9632, allocations: 29.88 kB / 1.37 GB, free: 12.46 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.0005791/0.9638, allocations: 0.7456 MB / 1.371 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.964, allocations: 107.6 kB / 1.371 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.964, allocations: 0 / 1.371 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.9641, allocations: 59.02 kB / 1.371 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.9643, allocations: 16.72 kB / 1.371 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.9662, allocations: 1.82 MB / 1.373 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.9664, allocations: 0.6983 MB / 1.374 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.9666, allocations: 22.02 kB / 1.374 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.9666, allocations: 33.08 kB / 1.374 GB, free: 9.508 MB / 1.076 GB Notification: Performance of SimCode: time 1.814e-06/0.9666, allocations: 0 / 1.374 GB, free: 9.508 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.9869, allocations: 2.428 MB / 1.376 GB, free: 9.059 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/8.435, allocations: 8.016 kB / 1.376 GB, free: 9.055 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches