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.0008346/0.0008346, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008374/0.0008374, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8871/0.8871, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.623/1.623, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.393e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001525/0.001539, allocations: 1.325 MB / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5513/0.5528, allocations: 130.1 MB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.5529, allocations: 0 / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.5529, allocations: 7.266 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.553, allocations: 15.81 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.5539, allocations: 337.6 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.554, allocations: 65.83 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.554, allocations: 10.38 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.554, allocations: 42.47 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.5541, allocations: 29.02 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5541, allocations: 2.969 kB / 1.079 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.5547, allocations: 378.7 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.5547, allocations: 18.17 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.5548, allocations: 23.84 kB / 1.08 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.555, allocations: 164.6 kB / 1.08 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.555, allocations: 0 / 1.08 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.555, allocations: 0 / 1.08 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.555, allocations: 2.781 kB / 1.08 GB, free: 40.09 MB / 0.9948 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.0003372/0.5553, allocations: 317.3 kB / 1.08 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5554, allocations: 8.938 kB / 1.08 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.5554, allocations: 40.91 kB / 1.08 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.5557, allocations: 37.38 kB / 1.08 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.327e-05/0.5558, allocations: 108.2 kB / 1.08 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5558, allocations: 6.688 kB / 1.08 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5558, allocations: 15.23 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5559, allocations: 208.1 kB / 1.081 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.556, allocations: 0 / 1.081 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.556, allocations: 3.188 kB / 1.081 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.556, allocations: 2.938 kB / 1.081 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.556, allocations: 49.38 kB / 1.081 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.5562, allocations: 155.5 kB / 1.081 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.5563, allocations: 92.28 kB / 1.081 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.5563, allocations: 29.45 kB / 1.081 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.5565, allocations: 25.84 kB / 1.081 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5565, allocations: 37.55 kB / 1.081 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.5565, allocations: 0 / 1.081 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0008968/0.5574, allocations: 483 kB / 1.081 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5574, allocations: 58.16 kB / 1.081 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.674e-05/0.5575, allocations: 99.83 kB / 1.082 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5575, allocations: 31.67 kB / 1.082 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.5575, allocations: 80.52 kB / 1.082 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.5575, allocations: 72.92 kB / 1.082 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.5576, allocations: 45.47 kB / 1.082 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.5576, allocations: 321.2 kB / 1.082 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.5577, allocations: 37.61 kB / 1.082 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.5577, allocations: 70.11 kB / 1.082 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.5578, allocations: 118.4 kB / 1.082 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5578, allocations: 0 / 1.082 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001375/0.558, allocations: 155.1 kB / 1.082 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.558, allocations: 7.844 kB / 1.082 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.558, allocations: 0 / 1.082 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.558, allocations: 2.75 kB / 1.082 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5581, allocations: 37.64 kB / 1.082 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5581, allocations: 10.09 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.5582, allocations: 7.188 kB / 1.082 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.5582, allocations: 8.062 kB / 1.082 GB, free: 38.24 MB / 0.9948 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 5.569e-05/0.5582, allocations: 126 kB / 1.083 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.5582, allocations: 9.391 kB / 1.083 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.5583, allocations: 18.94 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5583, allocations: 6.859 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5583, allocations: 0 / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5583, allocations: 3.281 kB / 1.083 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.5584, allocations: 155.1 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5584, allocations: 5.094 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.5585, allocations: 46.3 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5585, allocations: 0 / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.5585, allocations: 6.25 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5585, allocations: 0 / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5585, allocations: 0 / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.5587, allocations: 211.6 kB / 1.083 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.5587, allocations: 19.55 kB / 1.083 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5588, allocations: 1.969 kB / 1.083 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.5588, allocations: 8.875 kB / 1.083 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.5588, allocations: 18.03 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5588, allocations: 5.875 kB / 1.083 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.055e-05/0.5589, allocations: 78.84 kB / 1.083 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5589, allocations: 2.906 kB / 1.083 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001511/0.559, allocations: 23.28 kB / 1.083 GB, free: 37.79 MB / 0.9948 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.0002866/0.5593, allocations: 0.7521 MB / 1.084 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5594, allocations: 101.5 kB / 1.084 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5594, allocations: 4.094 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.5595, allocations: 49.2 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5597, allocations: 12.72 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.5606, allocations: 1.717 MB / 1.086 GB, free: 35.87 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.5607, allocations: 84.23 kB / 1.086 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.5607, allocations: 19.78 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.5608, allocations: 31.94 kB / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.5608, allocations: 0 / 1.086 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.5768, allocations: 3.127 MB / 1.089 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.732, allocations: 11.97 kB / 1.089 GB, free: 34.8 MB / 0.9948 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 & /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/jenkins/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: 11.60887869540602]