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.001885/0.001885, allocations: 116.3 kB / 17.16 MB, free: 5.98 MB / 14.72 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.002475/0.002475, allocations: 214.4 kB / 20.13 MB, free: 3.031 MB / 14.72 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 1.659/1.659, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.943/2.943, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.91 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002692/1.177, allocations: 1.362 MB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.232/1.409, allocations: 151.4 MB / 1.428 GB, free: 3.266 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/1.409, allocations: 0 / 1.428 GB, free: 3.266 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/1.409, allocations: 3.984 kB / 1.428 GB, free: 3.262 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/1.409, allocations: 15.86 kB / 1.428 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/1.41, allocations: 334.6 kB / 1.428 GB, free: 2.918 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/1.411, allocations: 63.72 kB / 1.428 GB, free: 2.855 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/1.411, allocations: 7.984 kB / 1.428 GB, free: 2.848 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/1.411, allocations: 31.91 kB / 1.429 GB, free: 2.816 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/1.411, allocations: 31.89 kB / 1.429 GB, free: 2.785 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/1.411, allocations: 7.938 kB / 1.429 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/1.412, allocations: 446.5 kB / 1.429 GB, free: 2.344 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/1.412, allocations: 15.97 kB / 1.429 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/1.412, allocations: 27.86 kB / 1.429 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004605/1.412, allocations: 161.5 kB / 1.429 GB, free: 2.145 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.413, allocations: 4 kB / 1.429 GB, free: 2.141 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.898e-06/1.413, allocations: 3.984 kB / 1.429 GB, free: 2.137 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.413, allocations: 0 / 1.429 GB, free: 2.137 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.0006866/1.413, allocations: 387.1 kB / 1.43 GB, free: 1.711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.413, allocations: 12.03 kB / 1.43 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/1.413, allocations: 192 / 1.43 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/1.413, allocations: 38.75 kB / 1.43 GB, free: 1.652 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/1.414, allocations: 40.84 kB / 1.43 GB, free: 1.613 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.414, allocations: 171.9 kB / 1.43 GB, free: 1.406 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.414, allocations: 0 / 1.43 GB, free: 1.406 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/1.414, allocations: 12 kB / 1.43 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/1.414, allocations: 85.52 kB / 1.43 GB, free: 1.305 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.414, allocations: 0 / 1.43 GB, free: 1.305 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.414, allocations: 4 kB / 1.43 GB, free: 1.301 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.414, allocations: 4 kB / 1.43 GB, free: 1.297 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/1.414, allocations: 47.89 kB / 1.43 GB, free: 1.25 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/1.415, allocations: 189.5 kB / 1.43 GB, free: 1.016 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.415, allocations: 90.61 kB / 1.43 GB, free: 0.918 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/1.415, allocations: 28.84 kB / 1.43 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.415, allocations: 182.2 kB / 1.43 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.415, allocations: 34.56 kB / 1.43 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/1.415, allocations: 0 / 1.43 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001588/1.417, allocations: 0.5436 MB / 1.431 GB, free: 36 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/1.417, allocations: 55.34 kB / 1.431 GB, free: 15.97 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/1.417, allocations: 101.8 kB / 1.431 GB, free: 15.86 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.417, allocations: 29.7 kB / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/1.417, allocations: 84.5 kB / 1.431 GB, free: 15.74 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/1.417, allocations: 71.39 kB / 1.431 GB, free: 15.67 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/1.417, allocations: 45.83 kB / 1.431 GB, free: 15.62 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.417, allocations: 318.8 kB / 1.432 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/1.417, allocations: 35.98 kB / 1.432 GB, free: 15.26 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/1.418, allocations: 64.22 kB / 1.432 GB, free: 15.19 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/1.418, allocations: 123.3 kB / 1.432 GB, free: 15.05 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.418, allocations: 7.938 kB / 1.432 GB, free: 15.05 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002545/1.418, allocations: 153.5 kB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.418, allocations: 8 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.418, allocations: 0 / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.418, allocations: 7.922 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/1.418, allocations: 43.92 kB / 1.432 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.418, allocations: 7.938 kB / 1.432 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/1.418, allocations: 0 / 1.432 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.418, allocations: 8 kB / 1.432 GB, free: 14.82 MB / 1.123 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.418, allocations: 129.8 kB / 1.432 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/1.418, allocations: 7.953 kB / 1.432 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/1.419, allocations: 16.44 kB / 1.432 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.419, allocations: 4 kB / 1.432 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.419, allocations: 3.938 kB / 1.432 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.419, allocations: 3.984 kB / 1.432 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.419, allocations: 189.6 kB / 1.432 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.419, allocations: 0 / 1.432 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/1.419, allocations: 35.98 kB / 1.432 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.419, allocations: 4 kB / 1.432 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/1.419, allocations: 3.938 kB / 1.432 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.419, allocations: 4 kB / 1.432 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.419, allocations: 3.938 kB / 1.432 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/1.419, allocations: 211.4 kB / 1.433 GB, free: 14.13 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.419, allocations: 89.05 kB / 1.433 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/1.419, allocations: 4.312 kB / 1.433 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.42, allocations: 8 kB / 1.433 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/1.42, allocations: 19.92 kB / 1.433 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.42, allocations: 8 kB / 1.433 GB, free: 13.99 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.701e-05/1.42, allocations: 79.27 kB / 1.433 GB, free: 13.91 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.42, allocations: 0 / 1.433 GB, free: 13.91 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002415/1.42, allocations: 32 kB / 1.433 GB, free: 13.88 MB / 1.123 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.0007601/1.421, allocations: 0.7512 MB / 1.434 GB, free: 13.1 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.421, allocations: 95.91 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.421, allocations: 3.938 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/1.421, allocations: 49.81 kB / 1.434 GB, free: 12.95 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/1.421, allocations: 21.66 kB / 1.434 GB, free: 12.93 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/1.424, allocations: 1.827 MB / 1.436 GB, free: 11.01 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/1.424, allocations: 0.7008 MB / 1.436 GB, free: 10.28 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000115/1.424, allocations: 24.62 kB / 1.436 GB, free: 10.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/1.424, allocations: 27.38 kB / 1.436 GB, free: 10.23 MB / 1.123 GB Notification: Performance of SimCode: time 6.32e-07/1.424, allocations: 0 / 1.436 GB, free: 10.23 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/1.447, allocations: 2.494 MB / 1.439 GB, free: 7.836 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.82, allocations: 8 kB / 1.439 GB, free: 7.828 MB / 1.123 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/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: 16.609092522994615]