Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001309/0.001309, allocations: 113.9 kB / 17.6 MB, free: 4.668 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.001388/0.001388, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.91 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8651, allocations: 168.7 MB / 1.271 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002138/0.8672, allocations: 1.29 MB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.176/1.043, allocations: 147.5 MB / 1.417 GB, free: 9.477 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/1.043, allocations: 5.188 kB / 1.417 GB, free: 9.473 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/1.043, allocations: 0 / 1.417 GB, free: 9.473 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/1.043, allocations: 9.109 kB / 1.417 GB, free: 9.465 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/1.044, allocations: 94.84 kB / 1.417 GB, free: 9.395 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/1.044, allocations: 39.75 kB / 1.417 GB, free: 9.371 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/1.044, allocations: 5.281 kB / 1.417 GB, free: 9.367 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/1.044, allocations: 12.42 kB / 1.417 GB, free: 9.363 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/1.044, allocations: 21.5 kB / 1.417 GB, free: 9.348 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/1.044, allocations: 1.094 kB / 1.417 GB, free: 9.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/1.044, allocations: 79.62 kB / 1.417 GB, free: 9.305 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/1.044, allocations: 13.22 kB / 1.417 GB, free: 9.293 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/1.044, allocations: 11.31 kB / 1.417 GB, free: 9.289 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/1.044, allocations: 65.47 kB / 1.417 GB, free: 9.258 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.044, allocations: 5.078 kB / 1.417 GB, free: 9.254 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.022e-06/1.044, allocations: 0 / 1.417 GB, free: 9.254 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.044, allocations: 0 / 1.417 GB, free: 9.254 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004165/1.045, allocations: 349.6 kB / 1.417 GB, free: 8.883 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.045, allocations: 13.28 kB / 1.417 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/1.045, allocations: 36.03 kB / 1.417 GB, free: 8.836 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/1.045, allocations: 16.66 kB / 1.417 GB, free: 8.828 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/1.045, allocations: 169.2 kB / 1.418 GB, free: 8.625 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/1.045, allocations: 2.375 kB / 1.418 GB, free: 8.625 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/1.045, allocations: 7.875 kB / 1.418 GB, free: 8.621 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.045, allocations: 48.23 kB / 1.418 GB, free: 8.578 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.045, allocations: 0 / 1.418 GB, free: 8.578 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.045, allocations: 5.188 kB / 1.418 GB, free: 8.574 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.045, allocations: 5.156 kB / 1.418 GB, free: 8.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/1.045, allocations: 17.78 kB / 1.418 GB, free: 8.562 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/1.046, allocations: 172.6 kB / 1.418 GB, free: 8.352 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/1.046, allocations: 53.52 kB / 1.418 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/1.046, allocations: 9.703 kB / 1.418 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/1.046, allocations: 1.375 kB / 1.418 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.046, allocations: 43.92 kB / 1.418 GB, free: 8.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/1.046, allocations: 0 / 1.418 GB, free: 8.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0007041/1.046, allocations: 367.3 kB / 1.418 GB, free: 7.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/1.047, allocations: 52.44 kB / 1.418 GB, free: 7.867 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/1.047, allocations: 91.92 kB / 1.418 GB, free: 7.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/1.047, allocations: 30.8 kB / 1.419 GB, free: 7.734 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/1.047, allocations: 84.27 kB / 1.419 GB, free: 7.648 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/1.047, allocations: 48.67 kB / 1.419 GB, free: 7.605 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/1.047, allocations: 30.16 kB / 1.419 GB, free: 7.578 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.047, allocations: 324.2 kB / 1.419 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/1.047, allocations: 18.89 kB / 1.419 GB, free: 7.246 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/1.047, allocations: 35.83 kB / 1.419 GB, free: 7.219 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/1.047, allocations: 56.7 kB / 1.419 GB, free: 7.184 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/1.047, allocations: 4 kB / 1.419 GB, free: 7.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001373/1.047, allocations: 101.8 kB / 1.419 GB, free: 7.113 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.047, allocations: 8.562 kB / 1.419 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/1.047, allocations: 1.125 kB / 1.419 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.047, allocations: 1.094 kB / 1.419 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.047, allocations: 25.64 kB / 1.419 GB, free: 7.102 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.047, allocations: 1.344 kB / 1.419 GB, free: 7.102 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/1.047, allocations: 5.406 kB / 1.419 GB, free: 7.098 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/1.047, allocations: 6.719 kB / 1.419 GB, free: 7.094 MB / 1.107 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 8.325e-05/1.047, allocations: 116.5 kB / 1.419 GB, free: 6.973 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/1.047, allocations: 3.969 kB / 1.419 GB, free: 6.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/1.047, allocations: 15.95 kB / 1.419 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.047, allocations: 1.219 kB / 1.419 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.047, allocations: 1.312 kB / 1.419 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.047, allocations: 0 / 1.419 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/1.048, allocations: 176 kB / 1.42 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.048, allocations: 0 / 1.42 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.048, allocations: 17.75 kB / 1.42 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.048, allocations: 0.8438 kB / 1.42 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/1.048, allocations: 8.938 kB / 1.42 GB, free: 6.742 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.048, allocations: 9.016 kB / 1.42 GB, free: 6.734 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.048, allocations: 0 / 1.42 GB, free: 6.734 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/1.048, allocations: 132.8 kB / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/1.048, allocations: 87.33 kB / 1.42 GB, free: 6.531 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/1.048, allocations: 1.344 kB / 1.42 GB, free: 6.531 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/1.048, allocations: 2.656 kB / 1.42 GB, free: 6.531 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/1.048, allocations: 10.95 kB / 1.42 GB, free: 6.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/1.048, allocations: 7.281 kB / 1.42 GB, free: 6.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.772e-05/1.048, allocations: 80.47 kB / 1.42 GB, free: 6.441 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.048, allocations: 0 / 1.42 GB, free: 6.441 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001952/1.048, allocations: 16.41 kB / 1.42 GB, free: 6.438 MB / 1.107 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.0004672/1.049, allocations: 0.6689 MB / 1.421 GB, free: 5.801 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001357/1.049, allocations: 61 kB / 1.421 GB, free: 5.773 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.049, allocations: 1.312 kB / 1.421 GB, free: 5.773 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/1.049, allocations: 24.48 kB / 1.421 GB, free: 5.766 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/1.049, allocations: 16.31 kB / 1.421 GB, free: 5.754 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.051, allocations: 1.453 MB / 1.422 GB, free: 4.391 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/1.051, allocations: 0.6836 MB / 1.423 GB, free: 3.691 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.149e-05/1.051, allocations: 12.69 kB / 1.423 GB, free: 3.684 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/1.051, allocations: 23.44 kB / 1.423 GB, free: 3.664 MB / 1.107 GB Notification: Performance of SimCode: time 3.1e-07/1.051, allocations: 0 / 1.423 GB, free: 3.664 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/1.075, allocations: 1.667 MB / 1.424 GB, free: 2.762 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.888, allocations: 14.58 kB / 1.424 GB, free: 2.754 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[2]=0.002000 " [Timeout remaining time 300] "" Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(hSteSym),der(hSteCod),der(hAirSym),der(hAirCod) Variables in the result:T,der(T),der(hAirCod),der(hAirSym),der(hLiqCod),der(hLiqSym),der(hSteCod),der(hSteSym),hAirCod,hAirSym,hLiqCod,hLiqSym,hSteCod,hSteSym,time [Calling sys.exit(0), Time elapsed: 14.690927032992477]