Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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.001511/0.001512, allocations: 110.6 kB / 17.08 MB, free: 5.977 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.00157/0.00157, allocations: 195.6 kB / 20.03 MB, free: 3.047 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.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.638/2.638, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002497/0.3183, allocations: 1.338 MB / 1.177 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7758/1.094, allocations: 148.1 MB / 1.322 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/1.094, allocations: 5.281 kB / 1.322 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/1.094, allocations: 5.719 kB / 1.322 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/1.094, allocations: 16.56 kB / 1.322 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/1.096, allocations: 328.5 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/1.096, allocations: 63.22 kB / 1.322 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/1.096, allocations: 4.406 kB / 1.322 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/1.096, allocations: 35.36 kB / 1.322 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/1.096, allocations: 33.33 kB / 1.322 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/1.096, allocations: 3.812 kB / 1.322 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/1.097, allocations: 411.5 kB / 1.323 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/1.097, allocations: 18.19 kB / 1.323 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/1.097, allocations: 24.56 kB / 1.323 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/1.098, allocations: 158.1 kB / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/1.098, allocations: 4 kB / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.098, allocations: 0 / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.098, allocations: 1.125 kB / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000583/1.098, allocations: 385.7 kB / 1.323 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.098, allocations: 9.938 kB / 1.323 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/1.099, allocations: 36.61 kB / 1.323 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.099, allocations: 166.5 kB / 1.323 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.099, allocations: 17.56 kB / 1.323 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/1.099, allocations: 18.83 kB / 1.323 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.099, allocations: 73.92 kB / 1.323 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/1.099, allocations: 0 / 1.323 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.099, allocations: 4.688 kB / 1.323 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.099, allocations: 2.156 kB / 1.323 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/1.099, allocations: 44.08 kB / 1.324 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/1.099, allocations: 187.3 kB / 1.324 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/1.1, allocations: 95.81 kB / 1.324 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/1.1, allocations: 36.59 kB / 1.324 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.1, allocations: 175.8 kB / 1.324 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.1, allocations: 34.11 kB / 1.324 GB, free: 12.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/1.1, allocations: 0 / 1.324 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001353/1.101, allocations: 0.5472 MB / 1.325 GB, free: 12.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.101, allocations: 53.59 kB / 1.325 GB, free: 11.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/1.102, allocations: 105.6 kB / 1.325 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.102, allocations: 31.02 kB / 1.325 GB, free: 11.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/1.102, allocations: 80.52 kB / 1.325 GB, free: 11.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/1.102, allocations: 79.02 kB / 1.325 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/1.102, allocations: 44.95 kB / 1.325 GB, free: 11.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.102, allocations: 323 kB / 1.325 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/1.102, allocations: 33.02 kB / 1.325 GB, free: 11.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/1.102, allocations: 75.02 kB / 1.325 GB, free: 11.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/1.102, allocations: 116.5 kB / 1.325 GB, free: 11.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.102, allocations: 1.156 kB / 1.325 GB, free: 11.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002348/1.103, allocations: 157.1 kB / 1.326 GB, free: 11.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.103, allocations: 9.406 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.103, allocations: 1.219 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.103, allocations: 3.203 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/1.103, allocations: 34.53 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.103, allocations: 2.5 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/1.103, allocations: 13.31 kB / 1.326 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/1.103, allocations: 9.156 kB / 1.326 GB, free: 11.23 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.000102/1.103, allocations: 122.5 kB / 1.326 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.103, allocations: 8.984 kB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/1.103, allocations: 16.06 kB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/1.103, allocations: 1.75 kB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.103, allocations: 1.703 kB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.103, allocations: 4.734 kB / 1.326 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/1.103, allocations: 196.3 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.103, allocations: 0.7969 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/1.104, allocations: 42.53 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.104, allocations: 1.75 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.104, allocations: 8.281 kB / 1.326 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.104, allocations: 1.984 kB / 1.326 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.104, allocations: 0 / 1.326 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/1.104, allocations: 210.7 kB / 1.326 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/1.104, allocations: 92.09 kB / 1.326 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/1.104, allocations: 4.531 kB / 1.326 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.104, allocations: 9.531 kB / 1.326 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/1.104, allocations: 17 kB / 1.326 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/1.104, allocations: 16.45 kB / 1.326 GB, free: 10.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.102e-05/1.104, allocations: 78 kB / 1.326 GB, free: 10.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.326 GB, free: 10.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002207/1.104, allocations: 28.19 kB / 1.326 GB, free: 10.64 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.00016/1.105, allocations: 109 kB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000219/1.105, allocations: 102.4 kB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.105, allocations: 1 kB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/1.105, allocations: 51.09 kB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/1.105, allocations: 18.42 kB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/1.106, allocations: 0.5447 MB / 1.327 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.106, allocations: 0.699 MB / 1.328 GB, free: 9.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/1.106, allocations: 16.47 kB / 1.328 GB, free: 9.426 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.107, allocations: 0 / 1.328 GB, free: 9.426 MB / 1.014 GB Notification: Performance of Templates: time 0.003504/1.11, allocations: 1.307 MB / 1.329 GB, free: 9.316 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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: 11.1281403680332]