Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00157/0.00157, allocations: 218.4 kB / 22.25 MB, free: 5.102 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_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.001979/0.001979, allocations: 71.56 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3966, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002378/0.3989, allocations: 1.342 MB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5832, allocations: 130 MB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.5832, allocations: 4 kB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.5833, allocations: 3.984 kB / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.5833, allocations: 19.84 kB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.5843, allocations: 318.7 kB / 1.454 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.5844, allocations: 75.7 kB / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.5844, allocations: 3.984 kB / 1.455 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.5845, allocations: 31.91 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.5846, allocations: 31.89 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5846, allocations: 4 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000804/0.5854, allocations: 375 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.5855, allocations: 15.97 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.5855, allocations: 27.86 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.5858, allocations: 155.6 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5858, allocations: 4 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5858, allocations: 0 / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5858, allocations: 0 / 1.455 GB, free: 12.55 MB / 1.154 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.0004562/0.5863, allocations: 321.8 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5863, allocations: 8.031 kB / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.5863, allocations: 38.75 kB / 1.455 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.5867, allocations: 32.86 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.5868, allocations: 118.3 kB / 1.456 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5869, allocations: 12 kB / 1.456 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5869, allocations: 8 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.5871, allocations: 202.2 kB / 1.456 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5871, allocations: 0 / 1.456 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5871, allocations: 7.984 kB / 1.456 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5871, allocations: 0 / 1.456 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.716e-05/0.5872, allocations: 43.91 kB / 1.456 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.5874, allocations: 160.6 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5876, allocations: 86.62 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.5877, allocations: 33.08 kB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.5879, allocations: 31.98 kB / 1.456 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5879, allocations: 34.5 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.5879, allocations: 0 / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001328/0.5892, allocations: 482.8 kB / 1.457 GB, free: 10.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5893, allocations: 51.41 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.5893, allocations: 101.8 kB / 1.457 GB, free: 10.6 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5894, allocations: 29.7 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.5894, allocations: 84.52 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.5895, allocations: 79.31 kB / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.5895, allocations: 37.7 kB / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5897, allocations: 322.8 kB / 1.457 GB, free: 10.03 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.5897, allocations: 31.98 kB / 1.457 GB, free: 10 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.5898, allocations: 72.36 kB / 1.457 GB, free: 9.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.59, allocations: 127.5 kB / 1.458 GB, free: 9.781 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.59, allocations: 0 / 1.458 GB, free: 9.781 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002424/0.5902, allocations: 153.6 kB / 1.458 GB, free: 9.625 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5903, allocations: 4 kB / 1.458 GB, free: 9.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5903, allocations: 4.078 kB / 1.458 GB, free: 9.617 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5903, allocations: 0 / 1.458 GB, free: 9.617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.5905, allocations: 43.92 kB / 1.458 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5905, allocations: 7.922 kB / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.5905, allocations: 4 kB / 1.458 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5905, allocations: 8 kB / 1.458 GB, free: 9.555 MB / 1.154 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.0001092/0.5906, allocations: 126.3 kB / 1.458 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5907, allocations: 11.95 kB / 1.458 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.5907, allocations: 16.47 kB / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5907, allocations: 0 / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5907, allocations: 7.938 kB / 1.458 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5907, allocations: 3.984 kB / 1.458 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5909, allocations: 152.7 kB / 1.458 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5909, allocations: 0 / 1.458 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5911, allocations: 31.98 kB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5911, allocations: 4 kB / 1.458 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5911, allocations: 4 kB / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5911, allocations: 11.92 kB / 1.458 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5911, allocations: 3.938 kB / 1.458 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.5914, allocations: 212.8 kB / 1.458 GB, free: 8.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.5915, allocations: 12.06 kB / 1.458 GB, free: 8.898 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5915, allocations: 12.06 kB / 1.458 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.5917, allocations: 7.984 kB / 1.458 GB, free: 8.879 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.5917, allocations: 15.92 kB / 1.458 GB, free: 8.863 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.5917, allocations: 4 kB / 1.458 GB, free: 8.859 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.5917, allocations: 75.28 kB / 1.458 GB, free: 8.785 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5917, allocations: 0 / 1.458 GB, free: 8.785 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002197/0.592, allocations: 36.09 kB / 1.459 GB, free: 8.75 MB / 1.154 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.0006587/0.5926, allocations: 0.7467 MB / 1.459 GB, free: 7.973 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.5928, allocations: 95.95 kB / 1.459 GB, free: 7.879 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5928, allocations: 7.938 kB / 1.459 GB, free: 7.871 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.5929, allocations: 49.28 kB / 1.459 GB, free: 7.824 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5932, allocations: 19.94 kB / 1.459 GB, free: 7.805 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.5951, allocations: 1.827 MB / 1.461 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.5952, allocations: 83.98 kB / 1.461 GB, free: 5.781 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.5953, allocations: 24.64 kB / 1.461 GB, free: 5.758 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.5953, allocations: 23.44 kB / 1.461 GB, free: 5.734 MB / 1.154 GB Notification: Performance of SimCode: time 3.1e-07/0.5953, allocations: 0 / 1.461 GB, free: 5.734 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.6295, allocations: 3.042 MB / 1.464 GB, free: 2.836 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.87, allocations: 6.125 kB / 1.464 GB, free: 2.832 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.599332654994214]