Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008299/0.0008299, 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.000844/0.000844, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8838/0.8838, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.9504 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.198e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001558/0.00158, allocations: 1.328 MB / 0.9518 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5514/0.5529, allocations: 130.1 MB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.553, allocations: 0 / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.553, allocations: 3.938 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.5531, allocations: 14.91 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.5539, allocations: 339.2 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.554, allocations: 65.89 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.554, allocations: 2.938 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.5541, allocations: 42.81 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.5541, allocations: 32.67 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5542, allocations: 3.125 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.5547, allocations: 374 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.5548, allocations: 18.19 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.5548, allocations: 26.31 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.555, allocations: 171 kB / 1.08 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.555, allocations: 0 / 1.08 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.555, allocations: 0 / 1.08 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.555, allocations: 0 / 1.08 GB, free: 40.08 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.0003545/0.5554, allocations: 317.8 kB / 1.08 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5554, allocations: 11.41 kB / 1.08 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.5555, allocations: 40.28 kB / 1.08 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.5557, allocations: 38.72 kB / 1.08 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.113e-05/0.5558, allocations: 108.8 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.5558, allocations: 3.219 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5558, allocations: 13.77 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.556, allocations: 215.1 kB / 1.081 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.556, allocations: 0 / 1.081 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.556, allocations: 4.219 kB / 1.081 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.556, allocations: 2.594 kB / 1.081 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.556, allocations: 39.62 kB / 1.081 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.5562, allocations: 161.5 kB / 1.081 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.5563, allocations: 88.36 kB / 1.081 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.5563, allocations: 33.5 kB / 1.081 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5565, allocations: 29.38 kB / 1.081 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.5565, allocations: 36.97 kB / 1.081 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5565, allocations: 0 / 1.081 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0008456/0.5573, allocations: 482.4 kB / 1.081 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.5574, allocations: 54.47 kB / 1.081 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.404e-05/0.5574, allocations: 96.02 kB / 1.082 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.5574, allocations: 30.36 kB / 1.082 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.5574, allocations: 83.36 kB / 1.082 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.5574, allocations: 70.47 kB / 1.082 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.5575, allocations: 42.75 kB / 1.082 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.079e-05/0.5575, allocations: 325.6 kB / 1.082 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.5576, allocations: 37.2 kB / 1.082 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.5576, allocations: 75.25 kB / 1.082 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.5577, allocations: 117.6 kB / 1.082 GB, free: 38.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5577, allocations: 2.688 kB / 1.082 GB, free: 38.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001318/0.5578, allocations: 151.4 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5579, allocations: 6.953 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5579, allocations: 0 / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5579, allocations: 2.562 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.558, allocations: 45.78 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.558, allocations: 0 / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.558, allocations: 7.469 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.558, allocations: 5.594 kB / 1.082 GB, free: 38.24 MB / 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 4.833e-05/0.5581, allocations: 130.2 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.5581, allocations: 8.047 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.5581, allocations: 20.62 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5581, allocations: 0 / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5581, allocations: 4.109 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5581, allocations: 3.281 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.889e-05/0.5582, allocations: 161.4 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5582, allocations: 3.984 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5583, allocations: 35.7 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5583, allocations: 2.969 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.5583, allocations: 7 kB / 1.083 GB, free: 37.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5583, allocations: 0 / 1.083 GB, free: 37.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5583, allocations: 0 / 1.083 GB, free: 37.94 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.5585, allocations: 221.2 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.5586, allocations: 16.56 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5586, allocations: 4.594 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.5586, allocations: 5.781 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5587, allocations: 12.64 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5587, allocations: 9.344 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.5587, allocations: 82.22 kB / 1.083 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5587, allocations: 0 / 1.083 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001419/0.5588, allocations: 26.97 kB / 1.083 GB, free: 37.78 MB / 0.9948 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.0003/0.5591, allocations: 0.747 MB / 1.084 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.5593, allocations: 97.62 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5593, allocations: 2.719 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.5593, allocations: 48.8 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.5595, allocations: 20.02 kB / 1.084 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.5605, allocations: 1.716 MB / 1.086 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.5605, allocations: 89.28 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.996e-05/0.5606, allocations: 20.28 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.5606, allocations: 27.22 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.5606, allocations: 1.203 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.5794, allocations: 3.124 MB / 1.089 GB, free: 34.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.7, allocations: 13.73 kB / 1.089 GB, free: 34.8 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.802189365960658]