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.001537/0.001537, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001539/0.001539, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.532/2.532, allocations: 443.5 MB / 0.7293 GB, free: 14.54 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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 1.057 GB, free: 2.027 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.293, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002323/0.2953, allocations: 1.278 MB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7279/1.023, allocations: 147.4 MB / 1.359 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/1.023, allocations: 0 / 1.359 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/1.023, allocations: 5.344 kB / 1.359 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/1.023, allocations: 6.828 kB / 1.359 GB, free: 8.895 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/1.024, allocations: 95.55 kB / 1.359 GB, free: 8.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/1.024, allocations: 32.09 kB / 1.359 GB, free: 8.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/1.024, allocations: 6 kB / 1.359 GB, free: 8.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/1.024, allocations: 14.58 kB / 1.359 GB, free: 8.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/1.024, allocations: 16.84 kB / 1.359 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/1.024, allocations: 2.281 kB / 1.359 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/1.024, allocations: 80.92 kB / 1.36 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/1.024, allocations: 7.906 kB / 1.36 GB, free: 8.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/1.024, allocations: 23.91 kB / 1.36 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/1.024, allocations: 64.89 kB / 1.36 GB, free: 8.746 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.024, allocations: 0.8438 kB / 1.36 GB, free: 8.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/1.024, allocations: 1.875 kB / 1.36 GB, free: 8.746 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.024, allocations: 1.125 kB / 1.36 GB, free: 8.746 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.0004542/1.025, allocations: 355.3 kB / 1.36 GB, free: 8.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/1.025, allocations: 13.11 kB / 1.36 GB, free: 8.371 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/1.025, allocations: 12.52 kB / 1.36 GB, free: 8.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.025, allocations: 165.7 kB / 1.36 GB, free: 8.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.025, allocations: 6.5 kB / 1.36 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/1.025, allocations: 7.656 kB / 1.36 GB, free: 8.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/1.025, allocations: 51.42 kB / 1.36 GB, free: 8.125 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.025, allocations: 0 / 1.36 GB, free: 8.125 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.025, allocations: 5.734 kB / 1.36 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.025, allocations: 1.375 kB / 1.36 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/1.026, allocations: 20.77 kB / 1.36 GB, free: 8.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/1.026, allocations: 162.5 kB / 1.36 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.026, allocations: 54.59 kB / 1.36 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/1.026, allocations: 11.89 kB / 1.36 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.026, allocations: 1.156 kB / 1.36 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.026, allocations: 40.28 kB / 1.36 GB, free: 7.824 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/1.026, allocations: 0 / 1.36 GB, free: 7.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0007596/1.027, allocations: 372.4 kB / 1.361 GB, free: 7.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/1.027, allocations: 57.23 kB / 1.361 GB, free: 7.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/1.027, allocations: 93.55 kB / 1.361 GB, free: 7.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.027, allocations: 29.83 kB / 1.361 GB, free: 7.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/1.027, allocations: 85.45 kB / 1.361 GB, free: 7.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/1.027, allocations: 44.08 kB / 1.361 GB, free: 7.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/1.027, allocations: 27.78 kB / 1.361 GB, free: 7.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.027, allocations: 322 kB / 1.361 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/1.027, allocations: 22.06 kB / 1.361 GB, free: 6.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/1.027, allocations: 36.2 kB / 1.362 GB, free: 6.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/1.027, allocations: 65.56 kB / 1.362 GB, free: 6.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/1.027, allocations: 1.156 kB / 1.362 GB, free: 6.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001428/1.027, allocations: 90.12 kB / 1.362 GB, free: 6.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.027, allocations: 7 kB / 1.362 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.027, allocations: 1.781 kB / 1.362 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.027, allocations: 1.219 kB / 1.362 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.028, allocations: 28.84 kB / 1.362 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.028, allocations: 2.531 kB / 1.362 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/1.028, allocations: 1.375 kB / 1.362 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.028, allocations: 2.594 kB / 1.362 GB, free: 6.727 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.0001016/1.028, allocations: 124.9 kB / 1.362 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/1.028, allocations: 8.359 kB / 1.362 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/1.028, allocations: 11.97 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.028, allocations: 2.016 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.028, allocations: 1.375 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.028, allocations: 0.8438 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/1.028, allocations: 173.9 kB / 1.362 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.028, allocations: 2.062 kB / 1.362 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.028, allocations: 19.11 kB / 1.362 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.028, allocations: 6.031 kB / 1.362 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.028, allocations: 5.312 kB / 1.362 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.028, allocations: 0 / 1.362 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.028, allocations: 5.469 kB / 1.362 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/1.028, allocations: 131.9 kB / 1.362 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/1.028, allocations: 87.69 kB / 1.362 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/1.028, allocations: 2.031 kB / 1.362 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/1.029, allocations: 6.812 kB / 1.362 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/1.029, allocations: 9.281 kB / 1.362 GB, free: 6.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.029, allocations: 8.438 kB / 1.362 GB, free: 6.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.783e-05/1.029, allocations: 75.28 kB / 1.362 GB, free: 6.09 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/1.029, allocations: 0 / 1.362 GB, free: 6.09 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002002/1.029, allocations: 16.44 kB / 1.362 GB, free: 6.086 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.0001083/1.029, allocations: 106.7 kB / 1.362 GB, free: 5.988 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.029, allocations: 66.28 kB / 1.363 GB, free: 5.961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.029, allocations: 5.344 kB / 1.363 GB, free: 5.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/1.029, allocations: 23.66 kB / 1.363 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/1.029, allocations: 8.484 kB / 1.363 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/1.03, allocations: 344.6 kB / 1.363 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/1.03, allocations: 0.6854 MB / 1.364 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/1.03, allocations: 13.06 kB / 1.364 GB, free: 4.961 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/1.03, allocations: 0 / 1.364 GB, free: 4.961 MB / 1.045 GB Notification: Performance of Templates: time 0.002489/1.033, allocations: 0.8313 MB / 1.364 GB, free: 4.906 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 10.837048704037443]