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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008216/0.0008216, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8589/0.8589, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.695/1.695, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9996 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.112e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001369/0.00138, allocations: 1.331 MB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5349/0.5362, allocations: 130.1 MB / 1.128 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.5363, allocations: 1.062 kB / 1.128 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.5363, allocations: 2.672 kB / 1.128 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.5364, allocations: 20.42 kB / 1.128 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.5373, allocations: 341.5 kB / 1.128 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.5374, allocations: 65.34 kB / 1.128 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.5374, allocations: 3.125 kB / 1.128 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.5375, allocations: 44.58 kB / 1.128 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.5376, allocations: 32.97 kB / 1.128 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.5376, allocations: 7.594 kB / 1.128 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.5382, allocations: 376.5 kB / 1.129 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.5382, allocations: 16.86 kB / 1.129 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.5383, allocations: 22.14 kB / 1.129 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.5385, allocations: 170.2 kB / 1.129 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5385, allocations: 1.25 kB / 1.129 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5385, allocations: 0.6562 kB / 1.129 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5385, allocations: 0 / 1.129 GB, free: 2.246 MB / 0.9948 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.0003404/0.5389, allocations: 319.2 kB / 1.129 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5389, allocations: 10.28 kB / 1.129 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.539, allocations: 38.34 kB / 1.129 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.5392, allocations: 33.45 kB / 1.129 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.176e-05/0.5393, allocations: 109.2 kB / 1.129 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5393, allocations: 3.781 kB / 1.129 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.5393, allocations: 14.97 kB / 1.129 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.5395, allocations: 212.4 kB / 1.13 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5395, allocations: 0 / 1.13 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5395, allocations: 11.03 kB / 1.13 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5395, allocations: 4 kB / 1.13 GB, free: 1.551 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.5396, allocations: 41.25 kB / 1.13 GB, free: 1.547 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.5397, allocations: 149.7 kB / 1.13 GB, free: 1.379 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.5398, allocations: 90.52 kB / 1.13 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.5399, allocations: 31.62 kB / 1.13 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.54, allocations: 30.97 kB / 1.13 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.54, allocations: 33.77 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.54, allocations: 0 / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.00087/0.5409, allocations: 480.4 kB / 1.131 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.5409, allocations: 53.81 kB / 1.131 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.238e-05/0.5409, allocations: 94.23 kB / 1.131 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-06/0.5409, allocations: 31.8 kB / 1.131 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.058e-05/0.541, allocations: 89.7 kB / 1.131 GB, free: 0.7305 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.541, allocations: 76.05 kB / 1.131 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.541, allocations: 39.22 kB / 1.131 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.995e-05/0.5411, allocations: 323.8 kB / 1.131 GB, free: 328 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.5411, allocations: 38.17 kB / 1.131 GB, free: 316 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.5412, allocations: 73.53 kB / 1.131 GB, free: 268 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5413, allocations: 119 kB / 1.131 GB, free: 196 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5413, allocations: 1.188 kB / 1.131 GB, free: 196 kB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001564/0.5415, allocations: 152.5 kB / 1.132 GB, free: 120 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5415, allocations: 8.703 kB / 1.132 GB, free: 120 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5415, allocations: 1.156 kB / 1.132 GB, free: 120 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5415, allocations: 6.312 kB / 1.132 GB, free: 116 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.5416, allocations: 43.38 kB / 1.132 GB, free: 108 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5416, allocations: 2.656 kB / 1.132 GB, free: 108 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.5416, allocations: 6.125 kB / 1.132 GB, free: 104 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.5416, allocations: 6.609 kB / 1.132 GB, free: 104 kB / 0.9948 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 7.239e-05/0.5417, allocations: 127.7 kB / 1.132 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.5417, allocations: 8.906 kB / 1.132 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.5418, allocations: 18.48 kB / 1.132 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5418, allocations: 6.734 kB / 1.132 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5418, allocations: 1 kB / 1.132 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5418, allocations: 5.312 kB / 1.132 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.5419, allocations: 159.2 kB / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5419, allocations: 0 / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.542, allocations: 35.2 kB / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.542, allocations: 1.531 kB / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.542, allocations: 6.125 kB / 1.132 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.542, allocations: 3.188 kB / 1.132 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.542, allocations: 1.719 kB / 1.132 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.5423, allocations: 214.9 kB / 1.132 GB, free: 15.65 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.5423, allocations: 18.66 kB / 1.132 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.5423, allocations: 6.109 kB / 1.132 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.5424, allocations: 9.719 kB / 1.132 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.5424, allocations: 10.19 kB / 1.132 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5424, allocations: 12.25 kB / 1.132 GB, free: 15.63 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.5425, allocations: 78.86 kB / 1.132 GB, free: 15.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5425, allocations: 0 / 1.132 GB, free: 15.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001599/0.5426, allocations: 29.41 kB / 1.132 GB, free: 15.55 MB / 1.01 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.0004446/0.5431, allocations: 0.7477 MB / 1.133 GB, free: 14.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.5432, allocations: 101.7 kB / 1.133 GB, free: 14.87 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5432, allocations: 1.281 kB / 1.133 GB, free: 14.87 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.5433, allocations: 48.69 kB / 1.133 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.5435, allocations: 16.67 kB / 1.133 GB, free: 14.85 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5448, allocations: 1.727 MB / 1.135 GB, free: 13.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.5449, allocations: 81.92 kB / 1.135 GB, free: 13.35 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.5449, allocations: 24.7 kB / 1.135 GB, free: 13.34 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.545, allocations: 25.84 kB / 1.135 GB, free: 13.34 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.545, allocations: 0 / 1.135 GB, free: 13.34 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.562, allocations: 3.111 MB / 1.138 GB, free: 12.35 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.467/7.029, allocations: 8.062 kB / 1.138 GB, free: 12.34 MB / 1.01 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.985250168479979]