Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_10_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.007595/0.007601, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.001883/0.001883, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.252, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002141/0.2542, allocations: 1.328 MB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6758/0.93, allocations: 148.1 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.9301, allocations: 1.094 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.9301, allocations: 1.875 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.9302, allocations: 19.48 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.9313, allocations: 337.4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.9315, allocations: 65.42 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.9315, allocations: 8.891 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.9316, allocations: 26.66 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.9317, allocations: 34.16 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.9317, allocations: 3.938 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008585/0.9325, allocations: 415.5 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.9326, allocations: 23.08 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.9327, allocations: 27.56 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.9331, allocations: 155.9 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9331, allocations: 1.062 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9331, allocations: 0 / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.9331, allocations: 4 kB / 1.313 GB, free: 12.22 MB / 1.014 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.0004478/0.9335, allocations: 385.8 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.9336, allocations: 11.12 kB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.9336, allocations: 38.03 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.9341, allocations: 35.05 kB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.9342, allocations: 171.7 kB / 1.314 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.9342, allocations: 13.62 kB / 1.314 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.9342, allocations: 19.05 kB / 1.314 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.9344, allocations: 74.38 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.9344, allocations: 0 / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9344, allocations: 6.812 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9344, allocations: 0 / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.9345, allocations: 47.52 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.9347, allocations: 189 kB / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.9349, allocations: 92.22 kB / 1.314 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.935, allocations: 31.5 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.9352, allocations: 177.3 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.9353, allocations: 36.83 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.9353, allocations: 0.5625 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001328/0.9366, allocations: 0.5478 MB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.9366, allocations: 54.12 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.9367, allocations: 104.6 kB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.9367, allocations: 35.67 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.9368, allocations: 81.55 kB / 1.315 GB, free: 10.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.9368, allocations: 75.67 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.9369, allocations: 44.06 kB / 1.315 GB, free: 10.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.937, allocations: 319.8 kB / 1.316 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.9371, allocations: 32.58 kB / 1.316 GB, free: 10.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.9372, allocations: 71.34 kB / 1.316 GB, free: 10.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.9373, allocations: 117.5 kB / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.9374, allocations: 0.9688 kB / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002298/0.9376, allocations: 160.4 kB / 1.316 GB, free: 10.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9376, allocations: 5.344 kB / 1.316 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9376, allocations: 1.719 kB / 1.316 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9376, allocations: 2.219 kB / 1.316 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.9378, allocations: 39.55 kB / 1.316 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9378, allocations: 3.406 kB / 1.316 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.9379, allocations: 13.45 kB / 1.316 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.9379, allocations: 8.688 kB / 1.316 GB, free: 10.02 MB / 1.014 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.734e-05/0.938, allocations: 118.8 kB / 1.316 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.9381, allocations: 9.344 kB / 1.316 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.9381, allocations: 20.03 kB / 1.316 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9381, allocations: 2.766 kB / 1.316 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9381, allocations: 0 / 1.316 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9381, allocations: 5.156 kB / 1.316 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.9383, allocations: 199.1 kB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9383, allocations: 4.75 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.9385, allocations: 35.06 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9385, allocations: 1.125 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.9385, allocations: 5.812 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9386, allocations: 2.859 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9386, allocations: 0 / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.9389, allocations: 212.4 kB / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.9389, allocations: 91.08 kB / 1.317 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.939, allocations: 9.578 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.9391, allocations: 9.469 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.9392, allocations: 16.47 kB / 1.317 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.9392, allocations: 12.36 kB / 1.317 GB, free: 9.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.9392, allocations: 77.98 kB / 1.317 GB, free: 9.426 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9392, allocations: 0 / 1.317 GB, free: 9.426 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002328/0.9395, allocations: 28.56 kB / 1.317 GB, free: 9.426 MB / 1.014 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.0005393/0.94, allocations: 0.7494 MB / 1.318 GB, free: 8.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.9402, allocations: 99.05 kB / 1.318 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9402, allocations: 3.688 kB / 1.318 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.9403, allocations: 54.45 kB / 1.318 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.9406, allocations: 23.97 kB / 1.318 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.9424, allocations: 1.829 MB / 1.32 GB, free: 7.398 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.9426, allocations: 0.7059 MB / 1.32 GB, free: 6.695 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.9427, allocations: 23.34 kB / 1.32 GB, free: 6.688 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.9428, allocations: 24.27 kB / 1.32 GB, free: 6.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.9428, allocations: 0 / 1.32 GB, free: 6.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.961, allocations: 2.433 MB / 1.323 GB, free: 6.223 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/8.398, allocations: 1.469 kB / 1.323 GB, free: 6.223 MB / 1.014 GB (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches