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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.535/2.535, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.00199/0.00199, allocations: 59.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7739, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001883/0.7757, allocations: 1.343 MB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.9402, allocations: 148.6 MB / 1.418 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.9403, allocations: 1.312 kB / 1.418 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.9403, allocations: 0 / 1.418 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.9404, allocations: 22.69 kB / 1.418 GB, free: 8.707 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.9414, allocations: 331.2 kB / 1.418 GB, free: 8.469 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.9415, allocations: 67.8 kB / 1.418 GB, free: 8.434 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.9416, allocations: 2.312 kB / 1.418 GB, free: 8.434 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.9416, allocations: 23.92 kB / 1.418 GB, free: 8.426 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.9417, allocations: 44.16 kB / 1.418 GB, free: 8.395 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.9417, allocations: 4.031 kB / 1.418 GB, free: 8.395 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.9426, allocations: 437.8 kB / 1.419 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.9426, allocations: 20.38 kB / 1.419 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.9427, allocations: 31.8 kB / 1.419 GB, free: 8.117 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.943, allocations: 156.1 kB / 1.419 GB, free: 8.039 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.943, allocations: 0 / 1.419 GB, free: 8.039 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.463e-06/0.943, allocations: 1.406 kB / 1.419 GB, free: 8.039 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.943, allocations: 0 / 1.419 GB, free: 8.039 MB / 1.107 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.0004746/0.9435, allocations: 398.3 kB / 1.419 GB, free: 7.633 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9436, allocations: 9.688 kB / 1.419 GB, free: 7.633 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.9436, allocations: 36.91 kB / 1.419 GB, free: 7.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.944, allocations: 34.64 kB / 1.419 GB, free: 7.578 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.9441, allocations: 173.1 kB / 1.419 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.9441, allocations: 6.938 kB / 1.419 GB, free: 7.367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.9441, allocations: 13.33 kB / 1.419 GB, free: 7.359 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.9443, allocations: 81.95 kB / 1.42 GB, free: 7.297 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9443, allocations: 3.984 kB / 1.42 GB, free: 7.293 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9443, allocations: 5.594 kB / 1.42 GB, free: 7.289 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9443, allocations: 1.094 kB / 1.42 GB, free: 7.289 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.9444, allocations: 50.73 kB / 1.42 GB, free: 7.266 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.9446, allocations: 184 kB / 1.42 GB, free: 7.051 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.9448, allocations: 85.11 kB / 1.42 GB, free: 7 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.9449, allocations: 33.34 kB / 1.42 GB, free: 6.977 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.9451, allocations: 176.6 kB / 1.42 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.9451, allocations: 36.69 kB / 1.42 GB, free: 6.738 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9451, allocations: 0 / 1.42 GB, free: 6.738 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001262/0.9464, allocations: 0.5497 MB / 1.421 GB, free: 6.328 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.9464, allocations: 53.5 kB / 1.421 GB, free: 6.266 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.9465, allocations: 99.86 kB / 1.421 GB, free: 6.16 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.9465, allocations: 31.8 kB / 1.421 GB, free: 6.125 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.9466, allocations: 81.64 kB / 1.421 GB, free: 6.043 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.9466, allocations: 70.69 kB / 1.421 GB, free: 5.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.9467, allocations: 44.14 kB / 1.421 GB, free: 5.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9468, allocations: 316.4 kB / 1.421 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.9469, allocations: 42.19 kB / 1.421 GB, free: 5.609 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.947, allocations: 70.39 kB / 1.421 GB, free: 5.555 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.9471, allocations: 106 kB / 1.422 GB, free: 5.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9471, allocations: 1.094 kB / 1.422 GB, free: 5.488 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002294/0.9474, allocations: 169 kB / 1.422 GB, free: 5.387 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9474, allocations: 5.812 kB / 1.422 GB, free: 5.387 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9474, allocations: 1.438 kB / 1.422 GB, free: 5.387 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.9474, allocations: 1.438 kB / 1.422 GB, free: 5.387 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.9475, allocations: 39.73 kB / 1.422 GB, free: 5.379 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.9476, allocations: 6.344 kB / 1.422 GB, free: 5.375 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.9476, allocations: 5.219 kB / 1.422 GB, free: 5.371 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.9476, allocations: 13.84 kB / 1.422 GB, free: 5.363 MB / 1.107 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.248e-05/0.9477, allocations: 122.4 kB / 1.422 GB, free: 5.238 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.9477, allocations: 12.8 kB / 1.422 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.9478, allocations: 17.59 kB / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9478, allocations: 1.281 kB / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9478, allocations: 5.188 kB / 1.422 GB, free: 5.211 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.9478, allocations: 3.938 kB / 1.422 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.948, allocations: 192.7 kB / 1.422 GB, free: 4.988 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.948, allocations: 4.812 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.9482, allocations: 34.86 kB / 1.422 GB, free: 4.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.9482, allocations: 5.359 kB / 1.422 GB, free: 4.977 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.9482, allocations: 5.219 kB / 1.422 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9482, allocations: 4 kB / 1.422 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9482, allocations: 5 kB / 1.422 GB, free: 4.965 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.9485, allocations: 206.9 kB / 1.422 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.9486, allocations: 95.77 kB / 1.422 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.9486, allocations: 1.344 kB / 1.422 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.9487, allocations: 10.77 kB / 1.422 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.9487, allocations: 13.48 kB / 1.422 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.9487, allocations: 13.19 kB / 1.422 GB, free: 4.703 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.9488, allocations: 76.69 kB / 1.423 GB, free: 4.629 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/0.9488, allocations: 0 / 1.423 GB, free: 4.629 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002087/0.949, allocations: 26.31 kB / 1.423 GB, free: 4.625 MB / 1.107 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.000645/0.9496, allocations: 0.7511 MB / 1.423 GB, free: 3.949 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.9498, allocations: 102.4 kB / 1.423 GB, free: 3.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9498, allocations: 0 / 1.423 GB, free: 3.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.9499, allocations: 50.84 kB / 1.423 GB, free: 3.891 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.9501, allocations: 16.89 kB / 1.423 GB, free: 3.883 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.952, allocations: 1.833 MB / 1.425 GB, free: 2.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.9523, allocations: 0.6967 MB / 1.426 GB, free: 1.566 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.9524, allocations: 30.67 kB / 1.426 GB, free: 1.547 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.9525, allocations: 24.03 kB / 1.426 GB, free: 1.531 MB / 1.107 GB Notification: Performance of SimCode: time 4.11e-07/0.9525, allocations: 0 / 1.426 GB, free: 1.531 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.9781, allocations: 2.417 MB / 1.428 GB, free: 272 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.988, allocations: 12.05 kB / 1.428 GB, free: 264 kB / 1.107 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/jenkins1/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: 13.423625538001943]