Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.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.001533/0.001533, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001851/0.001851, allocations: 159.5 kB / 23.01 MB, free: 4.949 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [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.00243/0.00243, allocations: 71.89 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188/1.191, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00349/1.194, allocations: 1.327 MB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2038/1.398, allocations: 130 MB / 1.282 GB, free: 8.73 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/1.398, allocations: 0 / 1.282 GB, free: 8.73 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 6.008e-05/1.398, allocations: 5.438 kB / 1.282 GB, free: 8.727 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/1.398, allocations: 18.52 kB / 1.282 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/1.4, allocations: 327.8 kB / 1.283 GB, free: 8.555 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000128/1.4, allocations: 56.92 kB / 1.283 GB, free: 8.539 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/1.4, allocations: 15.72 kB / 1.283 GB, free: 8.527 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/1.4, allocations: 32.05 kB / 1.283 GB, free: 8.516 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/1.4, allocations: 28.7 kB / 1.283 GB, free: 8.508 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/1.4, allocations: 3.156 kB / 1.283 GB, free: 8.508 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/1.401, allocations: 368.5 kB / 1.283 GB, free: 8.363 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/1.401, allocations: 16.66 kB / 1.283 GB, free: 8.355 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/1.401, allocations: 29.69 kB / 1.283 GB, free: 8.34 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/1.401, allocations: 153.5 kB / 1.283 GB, free: 8.297 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.401, allocations: 5.406 kB / 1.283 GB, free: 8.293 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.373e-06/1.401, allocations: 4 kB / 1.283 GB, free: 8.289 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.401, allocations: 0 / 1.283 GB, free: 8.289 MB / 1.139 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.0005505/1.402, allocations: 317.1 kB / 1.283 GB, free: 7.992 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.402, allocations: 9.156 kB / 1.284 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/1.402, allocations: 44.16 kB / 1.284 GB, free: 7.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/1.402, allocations: 105.5 kB / 1.284 GB, free: 7.855 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.402, allocations: 6.469 kB / 1.284 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.403, allocations: 10.31 kB / 1.284 GB, free: 7.848 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/1.403, allocations: 209.9 kB / 1.284 GB, free: 7.645 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.403, allocations: 4 kB / 1.284 GB, free: 7.641 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.403, allocations: 5.312 kB / 1.284 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.403, allocations: 1.25 kB / 1.284 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/1.403, allocations: 44.69 kB / 1.284 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/1.403, allocations: 140.2 kB / 1.284 GB, free: 7.48 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/1.403, allocations: 91.27 kB / 1.284 GB, free: 7.434 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/1.403, allocations: 25.42 kB / 1.284 GB, free: 7.422 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/1.404, allocations: 25.17 kB / 1.284 GB, free: 7.418 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.404, allocations: 37.38 kB / 1.284 GB, free: 7.375 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/1.404, allocations: 0 / 1.284 GB, free: 7.375 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001463/1.405, allocations: 480.4 kB / 1.285 GB, free: 7.113 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.405, allocations: 53.78 kB / 1.285 GB, free: 7.051 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/1.405, allocations: 98.67 kB / 1.285 GB, free: 6.949 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/1.405, allocations: 31.55 kB / 1.285 GB, free: 6.914 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/1.405, allocations: 81.77 kB / 1.285 GB, free: 6.832 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/1.405, allocations: 76.53 kB / 1.285 GB, free: 6.77 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/1.405, allocations: 40.39 kB / 1.285 GB, free: 6.742 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.406, allocations: 322.5 kB / 1.285 GB, free: 6.422 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/1.406, allocations: 35.44 kB / 1.285 GB, free: 6.414 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/1.406, allocations: 68.66 kB / 1.285 GB, free: 6.371 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/1.406, allocations: 115.9 kB / 1.286 GB, free: 6.301 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.406, allocations: 0.7812 kB / 1.286 GB, free: 6.301 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002575/1.406, allocations: 152.9 kB / 1.286 GB, free: 6.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.406, allocations: 9.594 kB / 1.286 GB, free: 6.223 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.406, allocations: 1.797 kB / 1.286 GB, free: 6.223 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.406, allocations: 2.188 kB / 1.286 GB, free: 6.223 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/1.407, allocations: 47.03 kB / 1.286 GB, free: 6.211 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.407, allocations: 3.891 kB / 1.286 GB, free: 6.211 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/1.407, allocations: 5.641 kB / 1.286 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/1.407, allocations: 13.06 kB / 1.286 GB, free: 6.199 MB / 1.139 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.0001197/1.407, allocations: 119.5 kB / 1.286 GB, free: 6.078 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/1.407, allocations: 9.5 kB / 1.286 GB, free: 6.074 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/1.407, allocations: 22.42 kB / 1.286 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/1.407, allocations: 5.594 kB / 1.286 GB, free: 6.047 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.407, allocations: 1.406 kB / 1.286 GB, free: 6.047 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.407, allocations: 1.359 kB / 1.286 GB, free: 6.047 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.407, allocations: 136.6 kB / 1.286 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.407, allocations: 2.141 kB / 1.286 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.407, allocations: 42.14 kB / 1.286 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.407, allocations: 1.094 kB / 1.286 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.407, allocations: 2.188 kB / 1.286 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.407, allocations: 1.797 kB / 1.286 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.407, allocations: 0 / 1.286 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/1.408, allocations: 214.4 kB / 1.286 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/1.408, allocations: 14.33 kB / 1.286 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/1.408, allocations: 6.031 kB / 1.286 GB, free: 5.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/1.408, allocations: 5.781 kB / 1.286 GB, free: 5.766 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/1.408, allocations: 13.83 kB / 1.286 GB, free: 5.762 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/1.408, allocations: 5.531 kB / 1.286 GB, free: 5.762 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.527e-05/1.408, allocations: 77.2 kB / 1.286 GB, free: 5.688 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/1.408, allocations: 1.344 kB / 1.286 GB, free: 5.688 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002338/1.408, allocations: 28.53 kB / 1.286 GB, free: 5.68 MB / 1.139 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.0001657/1.408, allocations: 116.1 kB / 1.287 GB, free: 5.574 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002366/1.409, allocations: 105.1 kB / 1.287 GB, free: 5.543 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.409, allocations: 1.125 kB / 1.287 GB, free: 5.543 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/1.409, allocations: 49.02 kB / 1.287 GB, free: 5.531 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.409, allocations: 14.28 kB / 1.287 GB, free: 5.527 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/1.41, allocations: 0.5159 MB / 1.287 GB, free: 5.125 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/1.41, allocations: 83.17 kB / 1.287 GB, free: 5.055 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001056/1.41, allocations: 24.2 kB / 1.287 GB, free: 5.047 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/1.41, allocations: 16.53 kB / 1.287 GB, free: 5.039 MB / 1.139 GB Notification: Performance of SimCode: time 2.8e-07/1.41, allocations: 0 / 1.287 GB, free: 5.039 MB / 1.139 GB Notification: Performance of Templates: time 0.004516/1.415, allocations: 1.069 MB / 1.288 GB, free: 4.883 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.647271653986536]