Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.00126/0.00126, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001463/0.001463, allocations: 205.2 kB / 22.99 MB, free: 4.957 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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 3.152/3.152, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 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.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") [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.002032/0.002032, allocations: 71.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.2082/0.5592, allocations: 163.1 MB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008505/0.5677, allocations: 5.147 MB / 1.491 GB, free: 8.203 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.5684, allocations: 19.81 kB / 1.491 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.57, allocations: 0.5519 MB / 1.492 GB, free: 7.629 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.5749, allocations: 1.895 MB / 1.494 GB, free: 5.727 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.577, allocations: 0.6962 MB / 1.494 GB, free: 5.035 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.5798, allocations: 2.147 MB / 1.497 GB, free: 2.871 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009109/0.5807, allocations: 0.5876 MB / 1.497 GB, free: 2.273 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.583, allocations: 1.126 MB / 1.498 GB, free: 1.145 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.5842, allocations: 0.88 MB / 1.499 GB, free: 268 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.5844, allocations: 88 kB / 1.499 GB, free: 180 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.5877, allocations: 1.656 MB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.5882, allocations: 462.7 kB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.5889, allocations: 489.8 kB / 1.502 GB, free: 13.58 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.5925, allocations: 2.095 MB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5925, allocations: 4 kB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5925, allocations: 0 / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.5925, allocations: 0 / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00429/0.5968, allocations: 1.596 MB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5968, allocations: 12.03 kB / 1.505 GB, free: 9.828 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.5975, allocations: 163.2 kB / 1.505 GB, free: 9.668 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.5987, allocations: 0.5477 MB / 1.506 GB, free: 9.094 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.5988, allocations: 66 kB / 1.506 GB, free: 9.027 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.5989, allocations: 84 kB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.601, allocations: 1.307 MB / 1.507 GB, free: 7.621 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.601, allocations: 3.938 kB / 1.507 GB, free: 7.617 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.6012, allocations: 36 kB / 1.507 GB, free: 7.582 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-05/0.6012, allocations: 69.97 kB / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.604, allocations: 1.645 MB / 1.509 GB, free: 5.859 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.6094, allocations: 2.539 MB / 1.512 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6116, allocations: 1.378 MB / 1.513 GB, free: 1.891 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009393/0.6125, allocations: 0.6525 MB / 1.514 GB, free: 1.23 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.6132, allocations: 140.9 kB / 1.514 GB, free: 1.094 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.6143, allocations: 0.7258 MB / 1.514 GB, free: 348 kB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 3.296e-06/0.6143, allocations: 0 / 1.514 GB, free: 348 kB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.003313/0.6176, allocations: 1.906 MB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6177, allocations: 94.11 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.6185, allocations: 0.6514 MB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/0.6186, allocations: 45.7 kB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.619, allocations: 433 kB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/0.6195, allocations: 436.3 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.6199, allocations: 238.8 kB / 1.518 GB, free: 12.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.6201, allocations: 394.7 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009856/0.6211, allocations: 0.5859 MB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.6222, allocations: 0.8312 MB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.6243, allocations: 1.36 MB / 1.521 GB, free: 9.211 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6243, allocations: 0 / 1.521 GB, free: 9.211 MB / 1.217 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002645/0.627, allocations: 1.64 MB / 1.523 GB, free: 7.551 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.627, allocations: 47.19 kB / 1.523 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6271, allocations: 4 kB / 1.523 GB, free: 7.496 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.6271, allocations: 8 kB / 1.523 GB, free: 7.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.6283, allocations: 255.6 kB / 1.523 GB, free: 7.238 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.6283, allocations: 8 kB / 1.523 GB, free: 7.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.6291, allocations: 111.1 kB / 1.523 GB, free: 7.121 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6292, allocations: 52.28 kB / 1.523 GB, free: 7.07 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 1 * 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.0006484/0.6299, allocations: 385.6 kB / 1.524 GB, free: 6.68 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.63, allocations: 91.44 kB / 1.524 GB, free: 6.59 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.6328, allocations: 1.601 MB / 1.525 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.6329, allocations: 12.05 kB / 1.525 GB, free: 4.961 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6329, allocations: 3.984 kB / 1.525 GB, free: 4.957 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6329, allocations: 3.984 kB / 1.525 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.6382, allocations: 2.998 MB / 1.528 GB, free: 1.832 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6383, allocations: 4 kB / 1.528 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/0.6392, allocations: 207.7 kB / 1.528 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.6392, allocations: 8 kB / 1.528 GB, free: 1.617 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-05/0.6393, allocations: 35.98 kB / 1.528 GB, free: 1.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.6393, allocations: 12 kB / 1.528 GB, free: 1.57 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6393, allocations: 11.94 kB / 1.528 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.6431, allocations: 2.556 MB / 1.531 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.6437, allocations: 227 kB / 1.531 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.6439, allocations: 39.92 kB / 1.531 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.6445, allocations: 24 kB / 1.531 GB, free: 14.6 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.6447, allocations: 96.67 kB / 1.531 GB, free: 14.51 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6448, allocations: 43.98 kB / 1.531 GB, free: 14.46 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006277/0.6454, allocations: 446.8 kB / 1.532 GB, free: 14.03 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6454, allocations: 0 / 1.532 GB, free: 14.03 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00124/0.6467, allocations: 403.4 kB / 1.532 GB, free: 13.63 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.0005793/0.6473, allocations: 282.6 kB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.6496, allocations: 1.404 MB / 1.534 GB, free: 11.93 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.6496, allocations: 4.562 kB / 1.534 GB, free: 11.92 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6507, allocations: 0.7014 MB / 1.535 GB, free: 11.2 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6522, allocations: 264.9 kB / 1.535 GB, free: 10.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6561, allocations: 2.328 MB / 1.537 GB, free: 8.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.6568, allocations: 0.5102 MB / 1.538 GB, free: 7.957 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001217/0.658, allocations: 438.5 kB / 1.538 GB, free: 7.523 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.6583, allocations: 79.44 kB / 1.538 GB, free: 7.445 MB / 1.232 GB Notification: Performance of SimCode: time 1.102e-06/0.6583, allocations: 0 / 1.538 GB, free: 7.445 MB / 1.232 GB Notification: Performance of Templates: time 0.02944/0.6877, allocations: 16.08 MB / 1.554 GB, free: 7.609 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.648119215009501]