Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001266/0.001266, allocations: 104.7 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.001233/0.001233, 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.81 kB / 1.056 GB, free: 2.523 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 160.7 MB / 1.213 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002348/0.3271, allocations: 1.264 MB / 1.214 GB, free: 220 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8255/1.153, allocations: 147.4 MB / 1.358 GB, free: 8.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/1.153, allocations: 1.031 kB / 1.358 GB, free: 8.984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/1.153, allocations: 9.156 kB / 1.358 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/1.153, allocations: 2.484 kB / 1.358 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/1.153, allocations: 93.94 kB / 1.358 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000102/1.153, allocations: 31.42 kB / 1.358 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/1.153, allocations: 7.969 kB / 1.358 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/1.153, allocations: 16.25 kB / 1.358 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/1.153, allocations: 13.69 kB / 1.358 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/1.153, allocations: 2.188 kB / 1.358 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/1.154, allocations: 85.41 kB / 1.358 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/1.154, allocations: 6.609 kB / 1.358 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/1.154, allocations: 21.59 kB / 1.358 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/1.154, allocations: 60.47 kB / 1.358 GB, free: 8.832 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.154, allocations: 0 / 1.358 GB, free: 8.832 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/1.154, allocations: 0 / 1.358 GB, free: 8.832 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.154, allocations: 5 kB / 1.358 GB, free: 8.828 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006273/1.155, allocations: 351.8 kB / 1.359 GB, free: 8.461 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.155, allocations: 14.22 kB / 1.359 GB, free: 8.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/1.155, allocations: 41.06 kB / 1.359 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/1.155, allocations: 10.94 kB / 1.359 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.155, allocations: 168.6 kB / 1.359 GB, free: 8.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/1.155, allocations: 5.031 kB / 1.359 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/1.155, allocations: 7.656 kB / 1.359 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/1.155, allocations: 48.08 kB / 1.359 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.155, allocations: 0 / 1.359 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.155, allocations: 1.922 kB / 1.359 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.155, allocations: 1.25 kB / 1.359 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/1.156, allocations: 24.33 kB / 1.359 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/1.156, allocations: 170.5 kB / 1.359 GB, free: 7.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.156, allocations: 45.91 kB / 1.359 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/1.156, allocations: 16.3 kB / 1.359 GB, free: 7.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/1.156, allocations: 1.469 kB / 1.359 GB, free: 7.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/1.156, allocations: 32.14 kB / 1.359 GB, free: 7.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.156, allocations: 4 kB / 1.359 GB, free: 7.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0008252/1.157, allocations: 374.9 kB / 1.36 GB, free: 7.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.157, allocations: 53.72 kB / 1.36 GB, free: 7.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/1.157, allocations: 92.45 kB / 1.36 GB, free: 7.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.157, allocations: 26.86 kB / 1.36 GB, free: 7.371 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/1.157, allocations: 84.78 kB / 1.36 GB, free: 7.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/1.157, allocations: 51.58 kB / 1.36 GB, free: 7.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/1.157, allocations: 36.3 kB / 1.36 GB, free: 7.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.157, allocations: 318.6 kB / 1.36 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/1.157, allocations: 21.41 kB / 1.36 GB, free: 6.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/1.157, allocations: 31.02 kB / 1.36 GB, free: 6.867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/1.157, allocations: 62.61 kB / 1.36 GB, free: 6.828 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/1.157, allocations: 0 / 1.36 GB, free: 6.828 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001541/1.158, allocations: 97.7 kB / 1.361 GB, free: 6.773 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.158, allocations: 4.906 kB / 1.361 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.158, allocations: 2.219 kB / 1.361 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.158, allocations: 0 / 1.361 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.158, allocations: 24.23 kB / 1.361 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.158, allocations: 1.891 kB / 1.361 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/1.158, allocations: 5.25 kB / 1.361 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.158, allocations: 4.281 kB / 1.361 GB, free: 6.766 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001144/1.158, allocations: 117.8 kB / 1.361 GB, free: 6.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/1.158, allocations: 14.83 kB / 1.361 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/1.158, allocations: 13.75 kB / 1.361 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.158, allocations: 1.281 kB / 1.361 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.158, allocations: 0 / 1.361 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.158, allocations: 1.906 kB / 1.361 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.158, allocations: 170.1 kB / 1.361 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.158, allocations: 2.188 kB / 1.361 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.158, allocations: 29.22 kB / 1.361 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.158, allocations: 1.406 kB / 1.361 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/1.158, allocations: 1.344 kB / 1.361 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.158, allocations: 4.797 kB / 1.361 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.158, allocations: 0 / 1.361 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/1.158, allocations: 135.5 kB / 1.361 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/1.159, allocations: 82.08 kB / 1.361 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.159, allocations: 5.094 kB / 1.361 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/1.159, allocations: 3.75 kB / 1.361 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.159, allocations: 9.703 kB / 1.361 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.159, allocations: 10.83 kB / 1.361 GB, free: 6.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.708e-05/1.159, allocations: 76.38 kB / 1.361 GB, free: 6.129 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.159, allocations: 5.25 kB / 1.361 GB, free: 6.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002016/1.159, allocations: 19.84 kB / 1.361 GB, free: 6.117 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0005018/1.159, allocations: 0.6611 MB / 1.362 GB, free: 5.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.16, allocations: 66.61 kB / 1.362 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.16, allocations: 0.5625 kB / 1.362 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/1.16, allocations: 30.59 kB / 1.362 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/1.16, allocations: 11.47 kB / 1.362 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/1.162, allocations: 1.437 MB / 1.363 GB, free: 4.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/1.162, allocations: 0.6889 MB / 1.364 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.717e-05/1.162, allocations: 10.8 kB / 1.364 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/1.162, allocations: 16.42 kB / 1.364 GB, free: 3.438 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/1.162, allocations: 0 / 1.364 GB, free: 3.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/1.189, allocations: 1.716 MB / 1.366 GB, free: 3.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/9.66, allocations: 8.984 kB / 1.366 GB, free: 3.055 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.519471613690257]