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.001814/0.001814, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001575/0.001575, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.996 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.974/2.974, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 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="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: 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.002176/0.002176, allocations: 65.94 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3694, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003091/0.3725, allocations: 1.366 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.5581, allocations: 151.4 MB / 1.433 GB, free: 2.273 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.5582, allocations: 0 / 1.433 GB, free: 2.273 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.5582, allocations: 0 / 1.433 GB, free: 2.273 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.5584, allocations: 19.84 kB / 1.433 GB, free: 2.254 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.5595, allocations: 342.6 kB / 1.433 GB, free: 1.918 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.5597, allocations: 63.77 kB / 1.433 GB, free: 1.855 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.5597, allocations: 7.984 kB / 1.433 GB, free: 1.848 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.5598, allocations: 31.92 kB / 1.433 GB, free: 1.816 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.5599, allocations: 35.89 kB / 1.433 GB, free: 1.781 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.5599, allocations: 0 / 1.433 GB, free: 1.781 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009698/0.5609, allocations: 446.5 kB / 1.433 GB, free: 1.348 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.5609, allocations: 19.92 kB / 1.433 GB, free: 1.328 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.561, allocations: 31.91 kB / 1.433 GB, free: 1.297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.5613, allocations: 159.6 kB / 1.434 GB, free: 1.145 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5613, allocations: 0 / 1.434 GB, free: 1.145 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5613, allocations: 4 kB / 1.434 GB, free: 1.141 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5613, allocations: 0 / 1.434 GB, free: 1.141 MB / 1.123 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.0004953/0.5618, allocations: 314 kB / 1.434 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5619, allocations: 8.031 kB / 1.434 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.5619, allocations: 46.69 kB / 1.434 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.5623, allocations: 40.84 kB / 1.434 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5625, allocations: 110.3 kB / 1.434 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5625, allocations: 0 / 1.434 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5625, allocations: 12 kB / 1.434 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5627, allocations: 77.64 kB / 1.434 GB, free: 488 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5627, allocations: 3.938 kB / 1.434 GB, free: 484 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5627, allocations: 4 kB / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5627, allocations: 0 / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.5628, allocations: 51.89 kB / 1.434 GB, free: 428 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.5631, allocations: 164.6 kB / 1.434 GB, free: 220 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.5633, allocations: 78.69 kB / 1.435 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.5633, allocations: 36.78 kB / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.5635, allocations: 24.3 kB / 1.435 GB, free: 68 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.5636, allocations: 42.5 kB / 1.435 GB, free: 16 kB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5636, allocations: 0 / 1.435 GB, free: 16 kB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001362/0.5649, allocations: 478.3 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.565, allocations: 55.41 kB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.5651, allocations: 97.8 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5651, allocations: 29.7 kB / 1.435 GB, free: 15.31 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.5651, allocations: 84.52 kB / 1.435 GB, free: 15.22 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.5652, allocations: 71.38 kB / 1.435 GB, free: 15.15 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.5653, allocations: 41.64 kB / 1.435 GB, free: 15.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5654, allocations: 319 kB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.5655, allocations: 43.97 kB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.5656, allocations: 70.05 kB / 1.436 GB, free: 14.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.5657, allocations: 111.3 kB / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5657, allocations: 4 kB / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002451/0.566, allocations: 157.5 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.566, allocations: 4 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.566, allocations: 4 kB / 1.436 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.566, allocations: 4 kB / 1.436 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5662, allocations: 39.92 kB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5662, allocations: 3.938 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.5663, allocations: 8 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5663, allocations: 4 kB / 1.436 GB, free: 14.31 MB / 1.139 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.911e-05/0.5664, allocations: 121.8 kB / 1.436 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.5664, allocations: 11.94 kB / 1.436 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.5665, allocations: 20.47 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5665, allocations: 4 kB / 1.436 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5665, allocations: 3.938 kB / 1.436 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5665, allocations: 0 / 1.436 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.5666, allocations: 168.7 kB / 1.436 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5666, allocations: 0 / 1.436 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.5668, allocations: 35.98 kB / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5669, allocations: 0 / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.5669, allocations: 8 kB / 1.437 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5669, allocations: 0 / 1.437 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5669, allocations: 7.922 kB / 1.437 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.5672, allocations: 207 kB / 1.437 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.5673, allocations: 20 kB / 1.437 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.5673, allocations: 7.875 kB / 1.437 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.5674, allocations: 11.98 kB / 1.437 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.5674, allocations: 11.92 kB / 1.437 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5675, allocations: 8 kB / 1.437 GB, free: 13.61 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5675, allocations: 83.28 kB / 1.437 GB, free: 13.53 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5675, allocations: 0 / 1.437 GB, free: 13.53 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002279/0.5677, allocations: 24 kB / 1.437 GB, free: 13.51 MB / 1.139 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.0006431/0.5684, allocations: 0.7515 MB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.5686, allocations: 104.3 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5686, allocations: 0 / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.5687, allocations: 51.91 kB / 1.438 GB, free: 12.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.5689, allocations: 18.28 kB / 1.438 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.571, allocations: 1.826 MB / 1.44 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5714, allocations: 0.7008 MB / 1.44 GB, free: 9.906 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.5715, allocations: 28.62 kB / 1.44 GB, free: 9.879 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.5715, allocations: 23.44 kB / 1.44 GB, free: 9.855 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/0.5715, allocations: 0 / 1.44 GB, free: 9.855 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.6025, allocations: 2.653 MB / 1.443 GB, free: 7.344 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.7, allocations: 4.062 kB / 1.443 GB, free: 7.34 MB / 1.139 GB " [Timeout remaining time 288] (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: 18.60234506195411]