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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001674/0.001674, 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.001929/0.001929, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.88 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2496, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002434/0.252, allocations: 1.325 MB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.3871, allocations: 148.1 MB / 1.21 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.3872, allocations: 0 / 1.21 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.3873, allocations: 3.938 kB / 1.21 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.985e-05/0.3874, allocations: 19.91 kB / 1.21 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.3883, allocations: 326.6 kB / 1.21 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.3884, allocations: 67.75 kB / 1.21 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.3884, allocations: 8 kB / 1.21 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.3885, allocations: 31.91 kB / 1.21 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.3885, allocations: 35.83 kB / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3886, allocations: 0 / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.3893, allocations: 402.9 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.3894, allocations: 15.98 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.3894, allocations: 31.86 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.3897, allocations: 163.8 kB / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3898, allocations: 0 / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3898, allocations: 0 / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3898, allocations: 0 / 1.211 GB, free: 7.395 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.0003899/0.3902, allocations: 391.3 kB / 1.211 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3902, allocations: 8.031 kB / 1.211 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3902, allocations: 46.73 kB / 1.211 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.3906, allocations: 28.91 kB / 1.211 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.3907, allocations: 172.1 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3908, allocations: 7.938 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3908, allocations: 19.83 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3909, allocations: 73.66 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.391, allocations: 0 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.391, allocations: 4 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.391, allocations: 4 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.3911, allocations: 51.89 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3913, allocations: 185.6 kB / 1.212 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3914, allocations: 86.55 kB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.3915, allocations: 28.94 kB / 1.212 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.3917, allocations: 182.2 kB / 1.212 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3917, allocations: 34.56 kB / 1.212 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3918, allocations: 0 / 1.212 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001231/0.393, allocations: 0.5583 MB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.393, allocations: 55.41 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.3931, allocations: 97.78 kB / 1.213 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3931, allocations: 33.7 kB / 1.213 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.3931, allocations: 80.52 kB / 1.213 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3932, allocations: 71 kB / 1.213 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3933, allocations: 37.7 kB / 1.213 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.3933, allocations: 323 kB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.3934, allocations: 35.98 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.3935, allocations: 73.84 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3937, allocations: 119.3 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3937, allocations: 4 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002116/0.3939, allocations: 153.5 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3939, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3939, allocations: 4 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3939, allocations: 4 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.3941, allocations: 43.92 kB / 1.214 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3941, allocations: 3.938 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.3942, allocations: 4 kB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3942, allocations: 8 kB / 1.214 GB, free: 4.074 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 8.037e-05/0.3943, allocations: 125.7 kB / 1.214 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.3943, allocations: 7.906 kB / 1.214 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3944, allocations: 16.44 kB / 1.214 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3944, allocations: 11.98 kB / 1.214 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3944, allocations: 3.938 kB / 1.214 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3944, allocations: 0 / 1.214 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3945, allocations: 189.6 kB / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3945, allocations: 0 / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3947, allocations: 43.92 kB / 1.214 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3948, allocations: 0 / 1.214 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3948, allocations: 8.062 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3948, allocations: 4 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3948, allocations: 3.938 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3951, allocations: 214.4 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.3951, allocations: 85.09 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3952, allocations: 8.062 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3953, allocations: 8 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.3953, allocations: 11.92 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3954, allocations: 7.984 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.3954, allocations: 87.28 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3954, allocations: 3.938 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002201/0.3956, allocations: 24 kB / 1.214 GB, free: 3.137 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.000491/0.3961, allocations: 0.7474 MB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3963, allocations: 116 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3963, allocations: 4 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.3964, allocations: 55.88 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3967, allocations: 21.8 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3983, allocations: 1.809 MB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3985, allocations: 0.6969 MB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.3987, allocations: 32.56 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.3987, allocations: 23.44 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3987, allocations: 0 / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.4174, allocations: 2.386 MB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.603, allocations: 3.938 kB / 1.22 GB, free: 13.16 MB / 0.9825 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