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.001856/0.001856, allocations: 100.8 kB / 19.75 MB, free: 1.91 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.002385/0.002385, allocations: 219.1 kB / 23.04 MB, free: 4.461 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.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.392/3.392, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002026/0.002026, allocations: 71.09 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.2036/0.5507, allocations: 163.1 MB / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008186/0.5589, allocations: 5.141 MB / 1.491 GB, free: 8.105 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005551/0.5594, allocations: 19.81 kB / 1.491 GB, free: 8.086 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.5608, allocations: 0.5557 MB / 1.492 GB, free: 7.527 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.5653, allocations: 1.891 MB / 1.494 GB, free: 5.629 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.5672, allocations: 0.6927 MB / 1.495 GB, free: 4.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.5699, allocations: 2.151 MB / 1.497 GB, free: 2.773 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.5708, allocations: 0.576 MB / 1.497 GB, free: 2.188 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.573, allocations: 1.129 MB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.5742, allocations: 0.841 MB / 1.499 GB, free: 216 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.5744, allocations: 92 kB / 1.499 GB, free: 124 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.5776, allocations: 1.633 MB / 1.501 GB, free: 14.48 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.5781, allocations: 458.6 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.5788, allocations: 497.9 kB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.5827, allocations: 2.091 MB / 1.504 GB, free: 11.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5828, allocations: 0 / 1.504 GB, free: 11.45 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5828, allocations: 0 / 1.504 GB, free: 11.45 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.5828, allocations: 0 / 1.504 GB, free: 11.45 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.003987/0.5868, allocations: 1.6 MB / 1.505 GB, free: 9.809 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5868, allocations: 12.03 kB / 1.505 GB, free: 9.797 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.5874, allocations: 159.2 kB / 1.505 GB, free: 9.641 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.5883, allocations: 0.5477 MB / 1.506 GB, free: 9.07 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.5884, allocations: 65.98 kB / 1.506 GB, free: 9.004 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.5886, allocations: 88 kB / 1.506 GB, free: 8.918 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.5906, allocations: 1.303 MB / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5906, allocations: 3.938 kB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.5907, allocations: 39.98 kB / 1.507 GB, free: 7.555 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.615e-05/0.5908, allocations: 65.97 kB / 1.508 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.5933, allocations: 1.649 MB / 1.509 GB, free: 5.832 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.5981, allocations: 2.543 MB / 1.512 GB, free: 3.25 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.6002, allocations: 1.37 MB / 1.513 GB, free: 1.859 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009424/0.6011, allocations: 0.6544 MB / 1.514 GB, free: 1.199 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.6017, allocations: 140.9 kB / 1.514 GB, free: 1.062 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.6027, allocations: 0.7336 MB / 1.514 GB, free: 312 kB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 3.246e-06/0.6027, allocations: 0 / 1.514 GB, free: 312 kB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.003066/0.6058, allocations: 1.899 MB / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.6059, allocations: 90.11 kB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.6066, allocations: 0.6514 MB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.6067, allocations: 49.7 kB / 1.517 GB, free: 13.56 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.607, allocations: 433 kB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.6074, allocations: 432.3 kB / 1.518 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.6078, allocations: 238.8 kB / 1.518 GB, free: 12.46 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.608, allocations: 398.8 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/0.6089, allocations: 0.5859 MB / 1.519 GB, free: 11.47 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.61, allocations: 0.8428 MB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.612, allocations: 1.36 MB / 1.521 GB, free: 9.168 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.612, allocations: 0 / 1.521 GB, free: 9.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002622/0.6146, allocations: 1.632 MB / 1.523 GB, free: 7.516 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.6146, allocations: 37.69 kB / 1.523 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6147, allocations: 4 kB / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6147, allocations: 8 kB / 1.523 GB, free: 7.461 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.6157, allocations: 259.9 kB / 1.523 GB, free: 7.207 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.6158, allocations: 15.94 kB / 1.523 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.6165, allocations: 115.1 kB / 1.523 GB, free: 7.078 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.6166, allocations: 40 kB / 1.523 GB, free: 7.039 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.0005685/0.6172, allocations: 381.7 kB / 1.524 GB, free: 6.652 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6174, allocations: 95.44 kB / 1.524 GB, free: 6.559 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.6201, allocations: 1.597 MB / 1.525 GB, free: 4.945 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6201, allocations: 12 kB / 1.525 GB, free: 4.934 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6201, allocations: 4 kB / 1.525 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.6201, allocations: 11.97 kB / 1.525 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.625, allocations: 2.99 MB / 1.528 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.625, allocations: 4 kB / 1.528 GB, free: 1.801 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.6259, allocations: 203.7 kB / 1.528 GB, free: 1.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.6259, allocations: 8 kB / 1.528 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.626, allocations: 40.61 kB / 1.528 GB, free: 1.555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.626, allocations: 11.94 kB / 1.528 GB, free: 1.543 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.626, allocations: 12 kB / 1.529 GB, free: 1.531 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.6297, allocations: 2.552 MB / 1.531 GB, free: 14.87 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.6302, allocations: 231 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6303, allocations: 31.98 kB / 1.531 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.6308, allocations: 28 kB / 1.531 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.631, allocations: 96.67 kB / 1.531 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/0.6311, allocations: 52.05 kB / 1.531 GB, free: 14.44 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006076/0.6317, allocations: 446.8 kB / 1.532 GB, free: 14 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6317, allocations: 0 / 1.532 GB, free: 14 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00118/0.6329, allocations: 403.4 kB / 1.532 GB, free: 13.61 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.0005715/0.6335, allocations: 282.5 kB / 1.532 GB, free: 13.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.6358, allocations: 1.408 MB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6358, allocations: 4 kB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.6369, allocations: 0.695 MB / 1.535 GB, free: 11.18 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6383, allocations: 281.1 kB / 1.535 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.6425, allocations: 2.396 MB / 1.537 GB, free: 8.383 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.6432, allocations: 0.5024 MB / 1.538 GB, free: 7.848 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.6435, allocations: 99.42 kB / 1.538 GB, free: 7.75 MB / 1.232 GB Notification: Performance of SimCode: time 9.42e-07/0.6435, allocations: 0 / 1.538 GB, free: 7.75 MB / 1.232 GB Notification: Performance of Templates: time 0.02573/0.6693, allocations: 15.98 MB / 1.553 GB, free: 7.805 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 -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: 14.070474641164765]