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.001592/0.001592, allocations: 110.4 kB / 16.46 MB, free: 6.504 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.00174/0.00174, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.782/2.782, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.002011/0.002011, allocations: 67.89 kB / 1.104 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8508, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002611/0.8534, allocations: 1.264 MB / 1.27 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1817/1.035, allocations: 147.4 MB / 1.414 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/1.035, allocations: 0 / 1.414 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/1.035, allocations: 0 / 1.414 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/1.035, allocations: 7.938 kB / 1.414 GB, free: 15.87 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/1.036, allocations: 91.56 kB / 1.414 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/1.036, allocations: 43.83 kB / 1.414 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/1.036, allocations: 0 / 1.414 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/1.036, allocations: 12 kB / 1.414 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/1.036, allocations: 15.92 kB / 1.414 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/1.036, allocations: 4 kB / 1.414 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/1.036, allocations: 87.75 kB / 1.414 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/1.036, allocations: 4 kB / 1.414 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/1.036, allocations: 23.91 kB / 1.414 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/1.037, allocations: 61.66 kB / 1.414 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.037, allocations: 0 / 1.414 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.054e-06/1.037, allocations: 0 / 1.414 GB, free: 15.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.037, allocations: 0 / 1.414 GB, free: 15.54 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.0004624/1.037, allocations: 359.3 kB / 1.415 GB, free: 15.14 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.037, allocations: 8.031 kB / 1.415 GB, free: 15.13 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/1.037, allocations: 30.75 kB / 1.415 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/1.037, allocations: 16.88 kB / 1.415 GB, free: 15.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/1.037, allocations: 168.1 kB / 1.415 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/1.037, allocations: 8 kB / 1.415 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.037, allocations: 4 kB / 1.415 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/1.038, allocations: 57.61 kB / 1.415 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.038, allocations: 7.984 kB / 1.415 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/1.038, allocations: 0 / 1.415 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/1.038, allocations: 0 / 1.415 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/1.038, allocations: 19.98 kB / 1.415 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/1.038, allocations: 165.5 kB / 1.415 GB, free: 14.56 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/1.038, allocations: 50.5 kB / 1.415 GB, free: 14.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/1.038, allocations: 20.84 kB / 1.415 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.038, allocations: 3.938 kB / 1.415 GB, free: 14.47 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.038, allocations: 34.56 kB / 1.415 GB, free: 14.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/1.038, allocations: 0 / 1.415 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0007764/1.039, allocations: 370.4 kB / 1.416 GB, free: 14.02 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.039, allocations: 59.34 kB / 1.416 GB, free: 13.95 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/1.039, allocations: 97.84 kB / 1.416 GB, free: 13.84 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/1.039, allocations: 29.83 kB / 1.416 GB, free: 13.8 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/1.039, allocations: 80.14 kB / 1.416 GB, free: 13.72 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/1.039, allocations: 55.56 kB / 1.416 GB, free: 13.67 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/1.039, allocations: 25.72 kB / 1.416 GB, free: 13.64 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.039, allocations: 314.8 kB / 1.416 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/1.039, allocations: 19.98 kB / 1.416 GB, free: 13.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/1.039, allocations: 37.64 kB / 1.416 GB, free: 13.26 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/1.039, allocations: 61.7 kB / 1.416 GB, free: 13.19 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/1.039, allocations: 0 / 1.416 GB, free: 13.19 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001518/1.04, allocations: 97.61 kB / 1.416 GB, free: 13.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.04, allocations: 4 kB / 1.416 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.04, allocations: 7.938 kB / 1.416 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.04, allocations: 0 / 1.416 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.04, allocations: 19.98 kB / 1.416 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.04, allocations: 4.703 kB / 1.416 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/1.04, allocations: 0 / 1.416 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.04, allocations: 11.94 kB / 1.416 GB, free: 13.04 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.414e-05/1.04, allocations: 117.8 kB / 1.417 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/1.04, allocations: 7.953 kB / 1.417 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/1.04, allocations: 7.969 kB / 1.417 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.04, allocations: 4 kB / 1.417 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.04, allocations: 0 / 1.417 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.04, allocations: 3.984 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/1.04, allocations: 165.6 kB / 1.417 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.04, allocations: 4 kB / 1.417 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/1.04, allocations: 23.98 kB / 1.417 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.04, allocations: 4 kB / 1.417 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/1.04, allocations: 4 kB / 1.417 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.04, allocations: 0 / 1.417 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.04, allocations: 4 kB / 1.417 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/1.04, allocations: 140.9 kB / 1.417 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/1.041, allocations: 81.09 kB / 1.417 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.041, allocations: 4 kB / 1.417 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/1.041, allocations: 7.984 kB / 1.417 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/1.041, allocations: 8 kB / 1.417 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/1.041, allocations: 4 kB / 1.417 GB, free: 12.37 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.336e-05/1.041, allocations: 79.22 kB / 1.417 GB, free: 12.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.041, allocations: 0 / 1.417 GB, free: 12.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000198/1.041, allocations: 16 kB / 1.417 GB, free: 12.27 MB / 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.0005305/1.041, allocations: 0.6871 MB / 1.418 GB, free: 11.55 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000145/1.042, allocations: 48.12 kB / 1.418 GB, free: 11.51 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.042, allocations: 0 / 1.418 GB, free: 11.51 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/1.042, allocations: 23.98 kB / 1.418 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/1.042, allocations: 12.42 kB / 1.418 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.043, allocations: 1.464 MB / 1.419 GB, free: 9.926 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/1.044, allocations: 0.6885 MB / 1.42 GB, free: 9.211 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.301e-05/1.044, allocations: 8.672 kB / 1.42 GB, free: 9.203 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/1.044, allocations: 19.44 kB / 1.42 GB, free: 9.184 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/1.044, allocations: 3.938 kB / 1.42 GB, free: 9.18 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/1.069, allocations: 1.698 MB / 1.422 GB, free: 7.621 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.334, allocations: 4.641 kB / 1.422 GB, free: 7.617 MB / 1.123 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 --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_2/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: 15.32724163401872]