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.007514/0.007514, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00178/0.00178, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7787, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001942/0.7807, allocations: 1.335 MB / 1.089 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.9509, allocations: 148.1 MB / 1.233 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.9511, allocations: 0 / 1.233 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.9512, allocations: 9.125 kB / 1.233 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.9513, allocations: 18 kB / 1.233 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.9525, allocations: 323.3 kB / 1.234 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.9527, allocations: 64.47 kB / 1.234 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.9528, allocations: 15.48 kB / 1.234 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.9528, allocations: 31.34 kB / 1.234 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.953, allocations: 36.61 kB / 1.234 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.953, allocations: 2.531 kB / 1.234 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.954, allocations: 401.3 kB / 1.234 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.9541, allocations: 17.17 kB / 1.234 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.9541, allocations: 27.73 kB / 1.234 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.9546, allocations: 164.2 kB / 1.234 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9546, allocations: 0 / 1.234 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9546, allocations: 0.9688 kB / 1.234 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.9546, allocations: 4 kB / 1.234 GB, free: 4.504 MB / 0.9669 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.0004811/0.9551, allocations: 386.8 kB / 1.235 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9551, allocations: 9.875 kB / 1.235 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.9552, allocations: 41.11 kB / 1.235 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.9556, allocations: 30 kB / 1.235 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.9557, allocations: 165.2 kB / 1.235 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.9558, allocations: 11.3 kB / 1.235 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.9558, allocations: 21.41 kB / 1.235 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.956, allocations: 77.56 kB / 1.235 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.956, allocations: 0 / 1.235 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.956, allocations: 2.5 kB / 1.235 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.956, allocations: 1.344 kB / 1.235 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.9562, allocations: 46.11 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.9564, allocations: 187.9 kB / 1.235 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.9566, allocations: 92.05 kB / 1.235 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.9566, allocations: 33 kB / 1.235 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.9569, allocations: 179.2 kB / 1.236 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.9569, allocations: 37.25 kB / 1.236 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.9569, allocations: 0 / 1.236 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001473/0.9584, allocations: 0.5462 MB / 1.236 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.9584, allocations: 57.52 kB / 1.236 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.9585, allocations: 101.2 kB / 1.236 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.9585, allocations: 35.08 kB / 1.236 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.9586, allocations: 81.58 kB / 1.236 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.9586, allocations: 70.92 kB / 1.237 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.9587, allocations: 36 kB / 1.237 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9588, allocations: 324 kB / 1.237 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.9589, allocations: 37.02 kB / 1.237 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.959, allocations: 67.06 kB / 1.237 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.9592, allocations: 121.3 kB / 1.237 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9592, allocations: 0 / 1.237 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002451/0.9594, allocations: 162.6 kB / 1.237 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9595, allocations: 5.875 kB / 1.237 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9595, allocations: 0 / 1.237 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9595, allocations: 2.531 kB / 1.237 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.9597, allocations: 38.67 kB / 1.237 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9597, allocations: 5.969 kB / 1.237 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.9598, allocations: 10.22 kB / 1.237 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.9598, allocations: 6.031 kB / 1.237 GB, free: 1.844 MB / 0.9669 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.577e-05/0.9599, allocations: 125.9 kB / 1.237 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.9599, allocations: 8.938 kB / 1.237 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.96, allocations: 20.42 kB / 1.237 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.96, allocations: 2.406 kB / 1.237 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.96, allocations: 5 kB / 1.237 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.96, allocations: 0 / 1.237 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.9602, allocations: 192.9 kB / 1.238 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.9602, allocations: 5.156 kB / 1.238 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.9604, allocations: 38.08 kB / 1.238 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9604, allocations: 1.156 kB / 1.238 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.9604, allocations: 5.094 kB / 1.238 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.9604, allocations: 1.188 kB / 1.238 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9604, allocations: 3.938 kB / 1.238 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.9608, allocations: 205.9 kB / 1.238 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.9608, allocations: 95.09 kB / 1.238 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.9609, allocations: 5.062 kB / 1.238 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.961, allocations: 8.812 kB / 1.238 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.9611, allocations: 12.7 kB / 1.238 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.9611, allocations: 16.73 kB / 1.238 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.9611, allocations: 80.34 kB / 1.238 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9611, allocations: 1.156 kB / 1.238 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002436/0.9614, allocations: 25.22 kB / 1.238 GB, free: 1.105 MB / 0.9669 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.0005718/0.9619, allocations: 0.7557 MB / 1.239 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.9622, allocations: 109.4 kB / 1.239 GB, free: 392 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9622, allocations: 1.188 kB / 1.239 GB, free: 392 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.9623, allocations: 53.94 kB / 1.239 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.9625, allocations: 25.47 kB / 1.239 GB, free: 356 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.9644, allocations: 1.818 MB / 1.241 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.9647, allocations: 0.701 MB / 1.242 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.9648, allocations: 18.52 kB / 1.242 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.9648, allocations: 27.14 kB / 1.242 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.9648, allocations: 0 / 1.242 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.9852, allocations: 2.433 MB / 1.244 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/8.226, allocations: 7.094 kB / 1.244 GB, free: 12.72 MB / 0.9825 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