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.001839/0.001839, allocations: 102 kB / 16.45 MB, free: 6.445 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.002155/0.002155, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.893/2.893, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] 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.00206/0.00206, allocations: 75.88 kB / 1.104 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9744/0.9765, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002222/0.9787, allocations: 1.345 MB / 1.27 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2046/1.183, allocations: 148.5 MB / 1.415 GB, free: 8.973 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/1.183, allocations: 0 / 1.415 GB, free: 8.973 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/1.183, allocations: 5.062 kB / 1.415 GB, free: 8.969 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/1.184, allocations: 18.16 kB / 1.415 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/1.185, allocations: 339.2 kB / 1.415 GB, free: 8.707 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/1.185, allocations: 64.55 kB / 1.415 GB, free: 8.676 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/1.185, allocations: 2.25 kB / 1.415 GB, free: 8.676 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/1.185, allocations: 35.25 kB / 1.416 GB, free: 8.656 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/1.185, allocations: 32.64 kB / 1.416 GB, free: 8.637 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/1.185, allocations: 11.69 kB / 1.416 GB, free: 8.629 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/1.187, allocations: 437.5 kB / 1.416 GB, free: 8.387 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/1.187, allocations: 17.38 kB / 1.416 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/1.187, allocations: 26.83 kB / 1.416 GB, free: 8.359 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/1.187, allocations: 160.6 kB / 1.416 GB, free: 8.277 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.187, allocations: 0 / 1.416 GB, free: 8.277 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.253e-06/1.187, allocations: 0 / 1.416 GB, free: 8.277 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.187, allocations: 1.469 kB / 1.416 GB, free: 8.277 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.0005829/1.188, allocations: 398.2 kB / 1.417 GB, free: 7.871 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.188, allocations: 9.562 kB / 1.417 GB, free: 7.871 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/1.188, allocations: 37.16 kB / 1.417 GB, free: 7.828 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/1.188, allocations: 33.44 kB / 1.417 GB, free: 7.816 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/1.188, allocations: 174.2 kB / 1.417 GB, free: 7.609 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.188, allocations: 2.844 kB / 1.417 GB, free: 7.609 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/1.188, allocations: 17.58 kB / 1.417 GB, free: 7.598 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.189, allocations: 74.41 kB / 1.417 GB, free: 7.543 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.189, allocations: 7.984 kB / 1.417 GB, free: 7.535 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.189, allocations: 1.062 kB / 1.417 GB, free: 7.535 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.189, allocations: 1.031 kB / 1.417 GB, free: 7.535 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/1.189, allocations: 45.83 kB / 1.417 GB, free: 7.516 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/1.189, allocations: 180.8 kB / 1.417 GB, free: 7.305 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/1.189, allocations: 92.52 kB / 1.417 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/1.189, allocations: 26 kB / 1.417 GB, free: 7.23 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/1.19, allocations: 184.9 kB / 1.417 GB, free: 7.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.19, allocations: 31.84 kB / 1.417 GB, free: 6.988 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/1.19, allocations: 0 / 1.417 GB, free: 6.988 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001419/1.191, allocations: 0.5548 MB / 1.418 GB, free: 6.574 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.191, allocations: 53.31 kB / 1.418 GB, free: 6.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/1.191, allocations: 97.02 kB / 1.418 GB, free: 6.41 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.191, allocations: 30.73 kB / 1.418 GB, free: 6.375 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/1.191, allocations: 85.17 kB / 1.418 GB, free: 6.289 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/1.191, allocations: 79.89 kB / 1.418 GB, free: 6.219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/1.191, allocations: 43.23 kB / 1.418 GB, free: 6.184 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.191, allocations: 317.6 kB / 1.419 GB, free: 5.867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/1.192, allocations: 36.16 kB / 1.419 GB, free: 5.852 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.192, allocations: 66.75 kB / 1.419 GB, free: 5.801 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/1.192, allocations: 117.5 kB / 1.419 GB, free: 5.723 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.192, allocations: 5.125 kB / 1.419 GB, free: 5.719 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003253/1.192, allocations: 153 kB / 1.419 GB, free: 5.633 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.192, allocations: 6.344 kB / 1.419 GB, free: 5.633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.192, allocations: 1.094 kB / 1.419 GB, free: 5.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.192, allocations: 1.438 kB / 1.419 GB, free: 5.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/1.192, allocations: 44.02 kB / 1.419 GB, free: 5.621 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/1.192, allocations: 5.562 kB / 1.419 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/1.192, allocations: 1.625 kB / 1.419 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/1.192, allocations: 9.156 kB / 1.419 GB, free: 5.613 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 0.0001176/1.193, allocations: 131 kB / 1.419 GB, free: 5.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/1.193, allocations: 8.297 kB / 1.419 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/1.193, allocations: 17.56 kB / 1.419 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.193, allocations: 1.906 kB / 1.419 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.193, allocations: 4.75 kB / 1.419 GB, free: 5.457 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.193, allocations: 0 / 1.419 GB, free: 5.457 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/1.193, allocations: 188.7 kB / 1.419 GB, free: 5.242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.193, allocations: 1.062 kB / 1.419 GB, free: 5.242 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.193, allocations: 43.05 kB / 1.419 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.193, allocations: 3.938 kB / 1.419 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.193, allocations: 9.516 kB / 1.419 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.193, allocations: 1.531 kB / 1.419 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.193, allocations: 3.938 kB / 1.419 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/1.194, allocations: 207.6 kB / 1.42 GB, free: 5.082 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.194, allocations: 90.61 kB / 1.42 GB, free: 4.98 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/1.194, allocations: 10.12 kB / 1.42 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.194, allocations: 7.359 kB / 1.42 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/1.194, allocations: 21.08 kB / 1.42 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.194, allocations: 4.531 kB / 1.42 GB, free: 4.953 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.144e-05/1.194, allocations: 77.56 kB / 1.42 GB, free: 4.879 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.194, allocations: 0 / 1.42 GB, free: 4.879 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002471/1.194, allocations: 29.88 kB / 1.42 GB, free: 4.871 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.0007606/1.195, allocations: 0.7508 MB / 1.421 GB, free: 4.195 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002457/1.195, allocations: 106.8 kB / 1.421 GB, free: 4.152 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.195, allocations: 0 / 1.421 GB, free: 4.152 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/1.195, allocations: 50.78 kB / 1.421 GB, free: 4.133 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.196, allocations: 19.52 kB / 1.421 GB, free: 4.121 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.198, allocations: 1.825 MB / 1.423 GB, free: 2.516 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/1.198, allocations: 0.6971 MB / 1.423 GB, free: 1.812 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000121/1.198, allocations: 25.81 kB / 1.423 GB, free: 1.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/1.198, allocations: 23.78 kB / 1.423 GB, free: 1.781 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/1.198, allocations: 0 / 1.423 GB, free: 1.781 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/1.229, allocations: 2.46 MB / 1.426 GB, free: 484 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/9.488, allocations: 5.531 kB / 1.426 GB, free: 480 kB / 1.107 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.761981286108494]