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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001525/0.001525, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 65.95 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1902/0.5512, allocations: 182.1 MB / 1.23 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007609/0.5588, allocations: 5.53 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.5595, allocations: 15.88 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5607, allocations: 0.5212 MB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.5646, allocations: 1.724 MB / 1.238 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.5664, allocations: 0.6176 MB / 1.238 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.5686, allocations: 2.151 MB / 1.24 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.5694, allocations: 0.7002 MB / 1.241 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.5707, allocations: 0.9539 MB / 1.242 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.5716, allocations: 0.8801 MB / 1.243 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.5717, allocations: 88 kB / 1.243 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.5748, allocations: 2.058 MB / 1.245 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.5753, allocations: 482.7 kB / 1.245 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.5758, allocations: 0.5832 MB / 1.246 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6486/1.224, allocations: 2.242 MB / 1.248 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/1.225, allocations: 0 / 1.248 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.225, allocations: 3.828 kB / 1.248 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.419e-05/1.225, allocations: 1.781 kB / 1.248 GB, free: 9.055 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.004846/1.229, allocations: 1.67 MB / 1.25 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.23, allocations: 11.72 kB / 1.25 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/1.23, allocations: 162.8 kB / 1.25 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.231, allocations: 0.6275 MB / 1.251 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/1.231, allocations: 69.86 kB / 1.251 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/1.232, allocations: 83.78 kB / 1.251 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/1.234, allocations: 1.191 MB / 1.252 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/1.234, allocations: 1.875 kB / 1.252 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/1.234, allocations: 41.09 kB / 1.252 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/1.234, allocations: 49.44 kB / 1.252 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.236, allocations: 1.507 MB / 1.253 GB, free: 7.871 MB / 0.9981 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.005191/1.241, allocations: 3.546 MB / 1.257 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/1.243, allocations: 1.437 MB / 1.258 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009201/1.244, allocations: 0.6984 MB / 1.259 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/1.245, allocations: 0.9621 MB / 1.26 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.246, allocations: 0.6937 MB / 1.261 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=123): time 3.727e-06/1.246, allocations: 0.7812 kB / 1.261 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123): time 0.003454/1.249, allocations: 1.847 MB / 1.262 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/1.249, allocations: 94.31 kB / 1.263 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.251, allocations: 0.8313 MB / 1.263 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/1.251, allocations: 47.86 kB / 1.263 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.251, allocations: 369.4 kB / 1.264 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.252, allocations: 407.5 kB / 1.264 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/1.252, allocations: 206.6 kB / 1.264 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.252, allocations: 354.7 kB / 1.265 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009703/1.253, allocations: 0.5046 MB / 1.265 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/1.254, allocations: 0.6534 MB / 1.266 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.256, allocations: 1.277 MB / 1.267 GB, free: 19.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.256, allocations: 2.125 kB / 1.267 GB, free: 19.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003141/1.26, allocations: 1.483 MB / 1.268 GB, free: 19.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/1.26, allocations: 44.06 kB / 1.269 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.26, allocations: 2.938 kB / 1.269 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/1.26, allocations: 8.062 kB / 1.269 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.261, allocations: 226.3 kB / 1.269 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/1.261, allocations: 8.609 kB / 1.269 GB, free: 19.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.262, allocations: 131 kB / 1.269 GB, free: 19.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.262, allocations: 45.77 kB / 1.269 GB, free: 19.67 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.0006053/1.263, allocations: 369.8 kB / 1.269 GB, free: 19.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/1.263, allocations: 106.2 kB / 1.269 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/1.266, allocations: 1.584 MB / 1.271 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.266, allocations: 11.91 kB / 1.271 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.266, allocations: 0.8438 kB / 1.271 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.266, allocations: 7.484 kB / 1.271 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/1.271, allocations: 3.305 MB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.271, allocations: 6.938 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/1.272, allocations: 205.3 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/1.272, allocations: 12.48 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/1.272, allocations: 38.78 kB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.689e-05/1.272, allocations: 14.36 kB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.272, allocations: 9.75 kB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/1.275, allocations: 2.488 MB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/1.276, allocations: 320.7 kB / 1.277 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.276, allocations: 37.62 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/1.277, allocations: 49.39 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.277, allocations: 96.23 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/1.277, allocations: 43.02 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000912/1.278, allocations: 0.5969 MB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.278, allocations: 0.875 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001292/1.279, allocations: 373.7 kB / 1.278 GB, free: 17.89 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.0007026/1.28, allocations: 287.4 kB / 1.279 GB, free: 17.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003437/1.283, allocations: 1.829 MB / 1.28 GB, free: 17.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.283, allocations: 1.281 kB / 1.28 GB, free: 17.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.285, allocations: 0.7318 MB / 1.281 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.287, allocations: 448.5 kB / 1.282 GB, free: 17.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/1.29, allocations: 2.693 MB / 1.284 GB, free: 16.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.291, allocations: 1.103 MB / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001419/1.292, allocations: 437.6 kB / 1.286 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/1.293, allocations: 90.16 kB / 1.286 GB, free: 15.66 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.293, allocations: 1.062 kB / 1.286 GB, free: 15.66 MB / 1.014 GB Notification: Performance of Templates: time 0.0299/1.323, allocations: 18.72 MB / 1.304 GB, free: 14.69 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