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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001395/0.001395, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.88 kB / 1.059 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2588, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002263/0.2611, allocations: 1.336 MB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6465/0.9076, allocations: 148.6 MB / 1.362 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.9077, allocations: 0 / 1.362 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.9077, allocations: 2.719 kB / 1.362 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.9078, allocations: 18.08 kB / 1.362 GB, free: 7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.9088, allocations: 342 kB / 1.362 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.9089, allocations: 69.05 kB / 1.362 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.909, allocations: 4.344 kB / 1.362 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.909, allocations: 26.31 kB / 1.362 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.9091, allocations: 33.14 kB / 1.362 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.9091, allocations: 3.875 kB / 1.362 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.9099, allocations: 439.8 kB / 1.363 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.91, allocations: 20.73 kB / 1.363 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.91, allocations: 28.47 kB / 1.363 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.9104, allocations: 154.6 kB / 1.363 GB, free: 6.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9104, allocations: 0 / 1.363 GB, free: 6.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9104, allocations: 0 / 1.363 GB, free: 6.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.9104, allocations: 0 / 1.363 GB, free: 6.535 MB / 1.045 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.0004702/0.9108, allocations: 391 kB / 1.363 GB, free: 6.148 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.9109, allocations: 9.344 kB / 1.363 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.9109, allocations: 39 kB / 1.363 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.9113, allocations: 43.31 kB / 1.363 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.9114, allocations: 172.2 kB / 1.364 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.9114, allocations: 6.281 kB / 1.364 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.9115, allocations: 13.84 kB / 1.364 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.9116, allocations: 76.8 kB / 1.364 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9116, allocations: 0 / 1.364 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9117, allocations: 5.375 kB / 1.364 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.9117, allocations: 1.562 kB / 1.364 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.9118, allocations: 46.05 kB / 1.364 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.912, allocations: 191.4 kB / 1.364 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.9121, allocations: 86.52 kB / 1.364 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.9122, allocations: 26.17 kB / 1.364 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.9124, allocations: 182.7 kB / 1.364 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.9124, allocations: 36.83 kB / 1.364 GB, free: 5.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.9124, allocations: 0 / 1.364 GB, free: 5.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001244/0.9137, allocations: 0.5526 MB / 1.365 GB, free: 4.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.9137, allocations: 57.56 kB / 1.365 GB, free: 4.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.9138, allocations: 98.17 kB / 1.365 GB, free: 4.789 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9138, allocations: 32.08 kB / 1.365 GB, free: 4.754 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.9139, allocations: 80.52 kB / 1.365 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.9139, allocations: 74.2 kB / 1.365 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.914, allocations: 42.28 kB / 1.365 GB, free: 4.582 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9141, allocations: 320 kB / 1.365 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.9142, allocations: 37.53 kB / 1.365 GB, free: 4.254 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.9143, allocations: 72.3 kB / 1.366 GB, free: 4.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.9144, allocations: 120.7 kB / 1.366 GB, free: 4.137 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9144, allocations: 1 kB / 1.366 GB, free: 4.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002185/0.9146, allocations: 153.7 kB / 1.366 GB, free: 4.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.9147, allocations: 5.891 kB / 1.366 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.9147, allocations: 1.312 kB / 1.366 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.9147, allocations: 5.406 kB / 1.366 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.9148, allocations: 39.44 kB / 1.366 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.9148, allocations: 3.125 kB / 1.366 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.9149, allocations: 12.94 kB / 1.366 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.9149, allocations: 13.8 kB / 1.366 GB, free: 4.039 MB / 1.045 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.9e-05/0.915, allocations: 118.6 kB / 1.366 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.915, allocations: 8.859 kB / 1.366 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.9151, allocations: 17.81 kB / 1.366 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9151, allocations: 6.406 kB / 1.366 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9151, allocations: 1.531 kB / 1.366 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.9151, allocations: 4.875 kB / 1.366 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.9153, allocations: 189.2 kB / 1.366 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9153, allocations: 0 / 1.366 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.9155, allocations: 43.42 kB / 1.366 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9155, allocations: 2.328 kB / 1.366 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.9155, allocations: 1.188 kB / 1.366 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9155, allocations: 0 / 1.366 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9155, allocations: 2.375 kB / 1.366 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.9158, allocations: 215.8 kB / 1.366 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.9158, allocations: 91.11 kB / 1.367 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.9159, allocations: 5.625 kB / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.916, allocations: 5.562 kB / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.916, allocations: 21.27 kB / 1.367 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.916, allocations: 5.719 kB / 1.367 GB, free: 3.438 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.9161, allocations: 81.5 kB / 1.367 GB, free: 3.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.9161, allocations: 4.094 kB / 1.367 GB, free: 3.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002141/0.9163, allocations: 26.53 kB / 1.367 GB, free: 3.352 MB / 1.045 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.0006008/0.9169, allocations: 0.7551 MB / 1.367 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.9171, allocations: 95.89 kB / 1.368 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9171, allocations: 5.406 kB / 1.368 GB, free: 2.672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.9171, allocations: 51.91 kB / 1.368 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.9174, allocations: 20.41 kB / 1.368 GB, free: 2.645 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.9193, allocations: 1.825 MB / 1.369 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.9196, allocations: 0.6987 MB / 1.37 GB, free: 436 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.9197, allocations: 26.94 kB / 1.37 GB, free: 424 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.9197, allocations: 29.89 kB / 1.37 GB, free: 404 kB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/0.9197, allocations: 0 / 1.37 GB, free: 404 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.945, allocations: 2.416 MB / 1.373 GB, free: 15.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/8.031, allocations: 9.25 kB / 1.373 GB, free: 15.96 MB / 1.061 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.227359378004621]