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.007362/0.007362, allocations: 96.7 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.001796/0.001796, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 73.5 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2622, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002278/0.2645, allocations: 1.334 MB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.4134, allocations: 148.1 MB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.4134, allocations: 0 / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.4135, allocations: 3.984 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4136, allocations: 19.78 kB / 1.233 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.4147, allocations: 330.6 kB / 1.234 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4148, allocations: 71.69 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.4149, allocations: 4 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.4149, allocations: 35.91 kB / 1.234 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.415, allocations: 31.89 kB / 1.234 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.4151, allocations: 4 kB / 1.234 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.4159, allocations: 411.1 kB / 1.234 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.416, allocations: 11.98 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.416, allocations: 31.86 kB / 1.234 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.4164, allocations: 159.6 kB / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4164, allocations: 3.938 kB / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4164, allocations: 0 / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4164, allocations: 0 / 1.234 GB, free: 10.93 MB / 0.9981 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.0004425/0.4168, allocations: 387.1 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4169, allocations: 8.031 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.4169, allocations: 42.73 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.4174, allocations: 36.91 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.4175, allocations: 184 kB / 1.235 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4175, allocations: 0 / 1.235 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4175, allocations: 12 kB / 1.235 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4177, allocations: 73.66 kB / 1.235 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4177, allocations: 0 / 1.235 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4177, allocations: 0 / 1.235 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4178, allocations: 7.938 kB / 1.235 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.4179, allocations: 47.89 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.418, allocations: 193.5 kB / 1.235 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4182, allocations: 82.61 kB / 1.235 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.4183, allocations: 36.92 kB / 1.236 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.4185, allocations: 174.2 kB / 1.236 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4186, allocations: 38.56 kB / 1.236 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.4186, allocations: 0 / 1.236 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001342/0.4199, allocations: 0.543 MB / 1.236 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.42, allocations: 63.39 kB / 1.236 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.42, allocations: 97.8 kB / 1.236 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4201, allocations: 33.7 kB / 1.236 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.4201, allocations: 80.52 kB / 1.237 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.4202, allocations: 75.36 kB / 1.237 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.4202, allocations: 37.72 kB / 1.237 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4203, allocations: 322.8 kB / 1.237 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.4204, allocations: 36.11 kB / 1.237 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.4205, allocations: 73.02 kB / 1.237 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.4207, allocations: 119.3 kB / 1.237 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4207, allocations: 0 / 1.237 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002311/0.4209, allocations: 165.5 kB / 1.237 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4209, allocations: 5.562 kB / 1.237 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.421, allocations: 0 / 1.237 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.421, allocations: 8 kB / 1.237 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4212, allocations: 43.86 kB / 1.237 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4212, allocations: 3.938 kB / 1.237 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.4212, allocations: 8 kB / 1.237 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4213, allocations: 4 kB / 1.237 GB, free: 7.605 MB / 0.9981 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.815e-05/0.4213, allocations: 117.8 kB / 1.237 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.4214, allocations: 11.94 kB / 1.237 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.4214, allocations: 24.42 kB / 1.238 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4214, allocations: 0 / 1.238 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4215, allocations: 7.938 kB / 1.238 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4215, allocations: 0 / 1.238 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.4216, allocations: 197.6 kB / 1.238 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4216, allocations: 0 / 1.238 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.4218, allocations: 35.98 kB / 1.238 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.4218, allocations: 0 / 1.238 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4219, allocations: 8 kB / 1.238 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4219, allocations: 0 / 1.238 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4219, allocations: 3.938 kB / 1.238 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4222, allocations: 210.6 kB / 1.238 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.4223, allocations: 93.11 kB / 1.238 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4223, allocations: 4 kB / 1.238 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.4224, allocations: 11.98 kB / 1.238 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.4225, allocations: 11.92 kB / 1.238 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4225, allocations: 8 kB / 1.238 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.4225, allocations: 79.28 kB / 1.238 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4225, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002339/0.4228, allocations: 32.09 kB / 1.238 GB, free: 6.672 MB / 0.9981 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.0005841/0.4234, allocations: 0.7414 MB / 1.239 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4236, allocations: 110 kB / 1.239 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4236, allocations: 4 kB / 1.239 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.4237, allocations: 55.92 kB / 1.239 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.424, allocations: 16.69 kB / 1.239 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4258, allocations: 1.836 MB / 1.241 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4261, allocations: 0.6969 MB / 1.242 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00011/0.4262, allocations: 24.64 kB / 1.242 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4263, allocations: 27.42 kB / 1.242 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4263, allocations: 0 / 1.242 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.4491, allocations: 2.434 MB / 1.244 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.82, allocations: 0 / 1.244 GB, free: 0.6523 MB / 0.9981 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