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.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.001725/0.001725, allocations: 109.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.002299/0.002299, allocations: 219 kB / 22.26 MB, free: 5.125 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.977 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.865/2.865, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001962/0.001962, allocations: 68.52 kB / 1.117 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003098/0.3306, allocations: 1.296 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1936/0.5242, allocations: 150.3 MB / 1.431 GB, free: 3.395 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.5243, allocations: 0 / 1.431 GB, free: 3.395 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.5243, allocations: 0 / 1.431 GB, free: 3.395 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.5244, allocations: 11.92 kB / 1.431 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.5249, allocations: 95.55 kB / 1.432 GB, free: 3.289 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.5251, allocations: 31.92 kB / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.5251, allocations: 4 kB / 1.432 GB, free: 3.254 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.5252, allocations: 19.92 kB / 1.432 GB, free: 3.234 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.5252, allocations: 11.98 kB / 1.432 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.5253, allocations: 7.938 kB / 1.432 GB, free: 3.215 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.5256, allocations: 79.75 kB / 1.432 GB, free: 3.137 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.5256, allocations: 8 kB / 1.432 GB, free: 3.129 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.5256, allocations: 19.92 kB / 1.432 GB, free: 3.109 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.5258, allocations: 71.33 kB / 1.432 GB, free: 3.043 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5258, allocations: 0 / 1.432 GB, free: 3.043 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5258, allocations: 0 / 1.432 GB, free: 3.043 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5258, allocations: 0 / 1.432 GB, free: 3.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004575/0.5263, allocations: 282.2 kB / 1.432 GB, free: 2.738 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5263, allocations: 8.031 kB / 1.432 GB, free: 2.73 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.5264, allocations: 34.75 kB / 1.432 GB, free: 2.688 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.5266, allocations: 12.92 kB / 1.432 GB, free: 2.676 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.5267, allocations: 114.3 kB / 1.432 GB, free: 2.539 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5267, allocations: 0 / 1.432 GB, free: 2.539 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.5267, allocations: 8 kB / 1.432 GB, free: 2.531 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.5269, allocations: 61.58 kB / 1.432 GB, free: 2.465 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5269, allocations: 3.938 kB / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5269, allocations: 8 kB / 1.432 GB, free: 2.453 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5269, allocations: 4 kB / 1.432 GB, free: 2.449 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.527, allocations: 11.98 kB / 1.432 GB, free: 2.438 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.5272, allocations: 140.6 kB / 1.432 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.5273, allocations: 54.56 kB / 1.432 GB, free: 2.195 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.5273, allocations: 8.859 kB / 1.432 GB, free: 2.184 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.5273, allocations: 3.984 kB / 1.432 GB, free: 2.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5273, allocations: 42.5 kB / 1.433 GB, free: 2.129 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5273, allocations: 0 / 1.433 GB, free: 2.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0007681/0.5281, allocations: 297.2 kB / 1.433 GB, free: 1.805 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5282, allocations: 51.41 kB / 1.433 GB, free: 1.742 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.5282, allocations: 93.86 kB / 1.433 GB, free: 1.641 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5283, allocations: 29.7 kB / 1.433 GB, free: 1.605 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.5283, allocations: 80.14 kB / 1.433 GB, free: 1.523 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.5283, allocations: 35.69 kB / 1.433 GB, free: 1.488 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.5284, allocations: 29.7 kB / 1.433 GB, free: 1.453 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5285, allocations: 326.9 kB / 1.433 GB, free: 1.125 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.5286, allocations: 15.98 kB / 1.433 GB, free: 1.109 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.5286, allocations: 37.7 kB / 1.433 GB, free: 1.066 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.5287, allocations: 61.64 kB / 1.434 GB, free: 1 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5287, allocations: 0 / 1.434 GB, free: 1 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001637/0.5289, allocations: 106.2 kB / 1.434 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5289, allocations: 4 kB / 1.434 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5289, allocations: 0 / 1.434 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5289, allocations: 0 / 1.434 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5291, allocations: 27.98 kB / 1.434 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5291, allocations: 0 / 1.434 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.5291, allocations: 0 / 1.434 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5291, allocations: 11.94 kB / 1.434 GB, free: 0.8477 MB / 1.123 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 9.393e-05/0.5292, allocations: 117.8 kB / 1.434 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.5292, allocations: 4 kB / 1.434 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.5293, allocations: 7.906 kB / 1.434 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5293, allocations: 3.938 kB / 1.434 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5293, allocations: 4 kB / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5293, allocations: 0 / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.5294, allocations: 148.7 kB / 1.434 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5294, allocations: 0 / 1.434 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.5296, allocations: 27.98 kB / 1.434 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5296, allocations: 0 / 1.434 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.5296, allocations: 0 / 1.434 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5296, allocations: 0 / 1.434 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5296, allocations: 3.938 kB / 1.434 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5298, allocations: 145 kB / 1.434 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.5298, allocations: 11.98 kB / 1.434 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5299, allocations: 7.938 kB / 1.434 GB, free: 316 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.5299, allocations: 8 kB / 1.434 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.53, allocations: 7.984 kB / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.53, allocations: 0 / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.53, allocations: 83.22 kB / 1.434 GB, free: 216 kB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.53, allocations: 0 / 1.434 GB, free: 216 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002092/0.5302, allocations: 16 kB / 1.434 GB, free: 200 kB / 1.123 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.0005299/0.5308, allocations: 0.6738 MB / 1.435 GB, free: 15.49 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.5309, allocations: 47.97 kB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5309, allocations: 0 / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.5309, allocations: 27.92 kB / 1.435 GB, free: 15.42 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5312, allocations: 16.2 kB / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.5328, allocations: 1.454 MB / 1.436 GB, free: 13.86 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5331, allocations: 0.6889 MB / 1.437 GB, free: 13.15 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.769e-05/0.5332, allocations: 8.672 kB / 1.437 GB, free: 13.14 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.5332, allocations: 15.44 kB / 1.437 GB, free: 13.12 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/0.5332, allocations: 0 / 1.437 GB, free: 13.12 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/0.5742, allocations: 1.83 MB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.74, allocations: 6.172 kB / 1.439 GB, free: 11.43 MB / 1.139 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.438521184958518]