Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData") translateModel(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.19 kB / 16.02 MB, free: 76 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.001792/0.001792, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.837/2.837, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 10.31 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3791, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.212/0.5912, allocations: 182.5 MB / 1.238 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8882/1.479, allocations: 15.85 MB / 1.253 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/1.482, allocations: 36.88 kB / 1.253 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/1.484, allocations: 0.5976 MB / 1.254 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/1.491, allocations: 2.063 MB / 1.256 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005258/1.496, allocations: 1.622 MB / 1.257 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006646/1.503, allocations: 4.334 MB / 1.261 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/1.506, allocations: 1.641 MB / 1.263 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/1.511, allocations: 1.179 MB / 1.264 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/1.514, allocations: 1.102 MB / 1.265 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/1.514, allocations: 58.94 kB / 1.265 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00542/1.52, allocations: 2.028 MB / 1.267 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008143/1.521, allocations: 483 kB / 1.268 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/1.523, allocations: 0.9597 MB / 1.269 GB, free: 18.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005301/1.528, allocations: 2.57 MB / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.528, allocations: 1.031 kB / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.287e-06/1.528, allocations: 0 / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.161e-05/1.528, allocations: 0 / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.006046/1.535, allocations: 2.134 MB / 1.273 GB, free: 17.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.535, allocations: 12.97 kB / 1.273 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/1.539, allocations: 0.5278 MB / 1.274 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/1.542, allocations: 1.265 MB / 1.275 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/1.542, allocations: 124.3 kB / 1.275 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/1.543, allocations: 161.9 kB / 1.275 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/1.546, allocations: 1.864 MB / 1.277 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/1.546, allocations: 8.422 kB / 1.277 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.547, allocations: 71.41 kB / 1.277 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-05/1.547, allocations: 65 kB / 1.277 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/1.55, allocations: 1.879 MB / 1.279 GB, free: 16.25 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.009872/1.56, allocations: 6.582 MB / 1.286 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/1.563, allocations: 1.587 MB / 1.287 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.564, allocations: 0.6469 MB / 1.288 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/1.565, allocations: 0.6366 MB / 1.288 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/1.566, allocations: 0.8806 MB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=142): time 3.186e-06/1.566, allocations: 0 / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=142): time 0.006067/1.572, allocations: 2.343 MB / 1.291 GB, free: 11.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.573, allocations: 199.5 kB / 1.292 GB, free: 11.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.575, allocations: 1.094 MB / 1.293 GB, free: 11.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/1.575, allocations: 53.73 kB / 1.293 GB, free: 11.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/1.575, allocations: 0.7178 MB / 1.294 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/1.576, allocations: 477.2 kB / 1.294 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/1.576, allocations: 110.8 kB / 1.294 GB, free: 10.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.576, allocations: 357 kB / 1.294 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.577, allocations: 0.4991 MB / 1.295 GB, free: 10.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.578, allocations: 0.6746 MB / 1.296 GB, free: 10.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.581, allocations: 1.182 MB / 1.297 GB, free: 10.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/1.581, allocations: 2.906 kB / 1.297 GB, free: 10.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003533/1.584, allocations: 1.575 MB / 1.298 GB, free: 9.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.584, allocations: 6.344 kB / 1.298 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.584, allocations: 1.844 kB / 1.298 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008066/1.585, allocations: 141.8 kB / 1.298 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.586, allocations: 313 kB / 1.299 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/1.591, allocations: 4.235 MB / 1.303 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.593, allocations: 192.4 kB / 1.303 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/1.594, allocations: 57.5 kB / 1.303 GB, free: 5.953 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001439/1.595, allocations: 432.2 kB / 1.303 GB, free: 5.824 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/1.596, allocations: 155.1 kB / 1.304 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/1.6, allocations: 1.814 MB / 1.305 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.6, allocations: 14.12 kB / 1.305 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.6, allocations: 2.5 kB / 1.305 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002922/1.603, allocations: 1.491 MB / 1.307 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/1.61, allocations: 3.496 MB / 1.31 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.61, allocations: 0 / 1.31 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.612, allocations: 297.9 kB / 1.311 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006986/1.613, allocations: 138.7 kB / 1.311 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.613, allocations: 50.05 kB / 1.311 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/1.617, allocations: 4.232 MB / 1.315 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.617, allocations: 7.875 kB / 1.315 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/1.622, allocations: 2.443 MB / 1.317 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.624, allocations: 448.8 kB / 1.318 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.625, allocations: 34.69 kB / 1.318 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.627, allocations: 154.8 kB / 1.318 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.627, allocations: 111.8 kB / 1.318 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.627, allocations: 61.25 kB / 1.318 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001531/1.629, allocations: 0.755 MB / 1.319 GB, free: 476 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.629, allocations: 0 / 1.319 GB, free: 476 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.002823/1.631, allocations: 0.644 MB / 1.319 GB, free: 372 kB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002412/1.634, allocations: 0.7515 MB / 1.32 GB, free: 120 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0032/1.637, allocations: 1.653 MB / 1.322 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.637, allocations: 4.625 kB / 1.322 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.639, allocations: 1.083 MB / 1.323 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/1.643, allocations: 0.6618 MB / 1.323 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/1.651, allocations: 4.341 MB / 1.328 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.653, allocations: 1.391 MB / 1.329 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000831/1.654, allocations: 180.8 kB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.654, allocations: 0 / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of Templates: time 0.07214/1.726, allocations: 49.7 MB / 1.378 GB, free: 13.98 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PressurizationData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches