Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,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_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,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_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001695, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.09 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3519, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1966/0.5485, allocations: 184.5 MB / 1.248 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6789/1.227, allocations: 5.533 MB / 1.254 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008268/1.228, allocations: 16.03 kB / 1.254 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.23, allocations: 0.5758 MB / 1.254 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/1.235, allocations: 1.836 MB / 1.256 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.237, allocations: 0.6682 MB / 1.257 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003385/1.241, allocations: 2.155 MB / 1.259 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/1.242, allocations: 0.7204 MB / 1.26 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/1.244, allocations: 0.9263 MB / 1.26 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.245, allocations: 0.824 MB / 1.261 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/1.245, allocations: 89.28 kB / 1.261 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/1.25, allocations: 1.992 MB / 1.263 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/1.25, allocations: 474.9 kB / 1.264 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/1.251, allocations: 0.5893 MB / 1.264 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00467/1.256, allocations: 2.137 MB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.256, allocations: 2.906 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.256, allocations: 0 / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.255e-05/1.256, allocations: 0 / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00506/1.261, allocations: 1.679 MB / 1.268 GB, free: 20.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/1.261, allocations: 8.719 kB / 1.268 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/1.262, allocations: 160.4 kB / 1.268 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.263, allocations: 0.6246 MB / 1.269 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/1.263, allocations: 65.12 kB / 1.269 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.264, allocations: 88.12 kB / 1.269 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/1.266, allocations: 1.19 MB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.266, allocations: 4.188 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/1.266, allocations: 36.16 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.149e-05/1.266, allocations: 47.16 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/1.269, allocations: 1.509 MB / 1.272 GB, free: 20.22 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/1.275, allocations: 3.57 MB / 1.275 GB, free: 18.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/1.278, allocations: 1.434 MB / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000968/1.279, allocations: 0.6968 MB / 1.277 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009543/1.28, allocations: 0.9601 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.281, allocations: 0.6976 MB / 1.279 GB, free: 17.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=123): time 4.418e-06/1.281, allocations: 3.234 kB / 1.279 GB, free: 17.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=123): time 0.003294/1.284, allocations: 1.848 MB / 1.281 GB, free: 17.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/1.284, allocations: 94.92 kB / 1.281 GB, free: 17.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.285, allocations: 0.8388 MB / 1.282 GB, free: 17.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/1.285, allocations: 46.17 kB / 1.282 GB, free: 17.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/1.286, allocations: 364.2 kB / 1.282 GB, free: 17.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.286, allocations: 409.5 kB / 1.282 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/1.286, allocations: 212.1 kB / 1.283 GB, free: 16.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.286, allocations: 358.1 kB / 1.283 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007546/1.287, allocations: 0.5059 MB / 1.283 GB, free: 16.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008696/1.288, allocations: 0.6477 MB / 1.284 GB, free: 16.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/1.29, allocations: 1.285 MB / 1.285 GB, free: 16.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.29, allocations: 1.156 kB / 1.285 GB, free: 16.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002329/1.292, allocations: 1.485 MB / 1.287 GB, free: 16.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.292, allocations: 35.31 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.292, allocations: 2.406 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.292, allocations: 7.625 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/1.293, allocations: 228.7 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.293, allocations: 12.8 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/1.294, allocations: 111 kB / 1.287 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.672e-05/1.294, allocations: 46.39 kB / 1.287 GB, free: 16.01 MB / 1.014 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 (138): * Single equations (assignments): 137 * 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.0005131/1.295, allocations: 373.6 kB / 1.288 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/1.295, allocations: 106.1 kB / 1.288 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/1.297, allocations: 1.586 MB / 1.289 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.297, allocations: 11.66 kB / 1.289 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.297, allocations: 7.875 kB / 1.289 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.297, allocations: 10.48 kB / 1.289 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/1.302, allocations: 3.286 MB / 1.292 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.302, allocations: 6.406 kB / 1.292 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/1.303, allocations: 202.6 kB / 1.293 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/1.303, allocations: 15.31 kB / 1.293 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/1.303, allocations: 37.56 kB / 1.293 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/1.303, allocations: 16.64 kB / 1.293 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/1.303, allocations: 9.969 kB / 1.293 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/1.306, allocations: 2.486 MB / 1.295 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/1.307, allocations: 333.8 kB / 1.295 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.307, allocations: 31.78 kB / 1.295 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/1.308, allocations: 32.38 kB / 1.296 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/1.308, allocations: 93.14 kB / 1.296 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/1.308, allocations: 43.27 kB / 1.296 GB, free: 14.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007893/1.309, allocations: 0.5967 MB / 1.296 GB, free: 14.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 1.296 GB, free: 14.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001265/1.31, allocations: 369.6 kB / 1.297 GB, free: 14.23 MB / 1.014 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.0006788/1.311, allocations: 297 kB / 1.297 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002781/1.314, allocations: 1.831 MB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.314, allocations: 2.438 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/1.315, allocations: 0.7316 MB / 1.299 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/1.317, allocations: 451.7 kB / 1.3 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/1.32, allocations: 2.322 MB / 1.302 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/1.321, allocations: 1.106 MB / 1.303 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001364/1.322, allocations: 441 kB / 1.304 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/1.322, allocations: 88.38 kB / 1.304 GB, free: 12.31 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.322, allocations: 4 kB / 1.304 GB, free: 12.3 MB / 1.014 GB Notification: Performance of Templates: time 0.03233/1.355, allocations: 18.82 MB / 1.322 GB, free: 9.676 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches