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.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.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.001707/0.001707, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001954/0.001955, allocations: 186.2 kB / 17.34 MB, free: 5.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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.09 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9065, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2132/1.12, allocations: 187.3 MB / 1.391 GB, free: 1.656 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02517/1.145, allocations: 15.99 MB / 1.407 GB, free: 1.629 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/1.148, allocations: 43.75 kB / 1.407 GB, free: 1.586 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/1.151, allocations: 0.7412 MB / 1.408 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008215/1.159, allocations: 2.329 MB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/1.165, allocations: 1.829 MB / 1.412 GB, free: 12.68 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006069/1.171, allocations: 3.628 MB / 1.415 GB, free: 9.043 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/1.175, allocations: 1.944 MB / 1.417 GB, free: 7.043 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/1.179, allocations: 1.531 MB / 1.419 GB, free: 5.531 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/1.182, allocations: 1.251 MB / 1.42 GB, free: 4.277 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008068/1.183, allocations: 212 kB / 1.42 GB, free: 4.07 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/1.188, allocations: 1.946 MB / 1.422 GB, free: 2.121 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/1.189, allocations: 0.6465 MB / 1.423 GB, free: 1.473 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002375/1.191, allocations: 1.143 MB / 1.424 GB, free: 332 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007349/1.198, allocations: 3.544 MB / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.198, allocations: 4 kB / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.483e-06/1.198, allocations: 0 / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001376/1.199, allocations: 0 / 1.427 GB, free: 12.77 MB / 1.154 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.006608/1.205, allocations: 2.549 MB / 1.43 GB, free: 10.15 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.205, allocations: 12.03 kB / 1.43 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/1.209, allocations: 0.5164 MB / 1.43 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/1.213, allocations: 1.314 MB / 1.431 GB, free: 8.25 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/1.213, allocations: 127.3 kB / 1.432 GB, free: 8.125 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/1.214, allocations: 164 kB / 1.432 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/1.218, allocations: 1.86 MB / 1.434 GB, free: 6.027 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-05/1.219, allocations: 11.84 kB / 1.434 GB, free: 6.016 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/1.219, allocations: 72 kB / 1.434 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/1.219, allocations: 59.16 kB / 1.434 GB, free: 5.887 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/1.223, allocations: 1.87 MB / 1.436 GB, free: 4.012 MB / 1.154 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.01068/1.233, allocations: 6.506 MB / 1.442 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/1.236, allocations: 1.579 MB / 1.443 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.238, allocations: 0.6476 MB / 1.444 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/1.238, allocations: 0.6259 MB / 1.445 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/1.24, allocations: 0.8646 MB / 1.446 GB, free: 9.184 MB / 1.17 GB Notification: Performance of pre-optimization done (n=142): time 4.368e-06/1.24, allocations: 0 / 1.446 GB, free: 9.184 MB / 1.17 GB Notification: Performance of matching and sorting (n=142): time 0.005905/1.246, allocations: 2.329 MB / 1.448 GB, free: 6.781 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.246, allocations: 201.2 kB / 1.448 GB, free: 6.543 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/1.248, allocations: 1.092 MB / 1.449 GB, free: 5.441 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/1.248, allocations: 53.7 kB / 1.449 GB, free: 5.383 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/1.249, allocations: 0.7237 MB / 1.45 GB, free: 4.648 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004802/1.25, allocations: 477.1 kB / 1.45 GB, free: 4.176 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/1.25, allocations: 259.4 kB / 1.451 GB, free: 3.918 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.25, allocations: 353.9 kB / 1.451 GB, free: 3.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/1.251, allocations: 0.4958 MB / 1.451 GB, free: 3.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.252, allocations: 0.6711 MB / 1.452 GB, free: 2.363 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/1.255, allocations: 1.173 MB / 1.453 GB, free: 1.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.255, allocations: 0 / 1.453 GB, free: 1.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003656/1.258, allocations: 1.571 MB / 1.455 GB, free: 15.57 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.258, allocations: 14.44 kB / 1.455 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.258, allocations: 3.938 kB / 1.455 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/1.259, allocations: 142.5 kB / 1.455 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.261, allocations: 311.6 kB / 1.455 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/1.265, allocations: 4.531 MB / 1.46 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.267, allocations: 146.8 kB / 1.46 GB, free: 9.996 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/1.267, allocations: 63.89 kB / 1.46 GB, free: 9.934 MB / 1.186 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.001076/1.268, allocations: 415.2 kB / 1.46 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.269, allocations: 158.1 kB / 1.46 GB, free: 9.363 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/1.273, allocations: 1.793 MB / 1.462 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.273, allocations: 16 kB / 1.462 GB, free: 7.535 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.273, allocations: 4 kB / 1.462 GB, free: 7.531 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002975/1.276, allocations: 1.478 MB / 1.463 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/1.283, allocations: 3.499 MB / 1.467 GB, free: 2.453 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.283, allocations: 0 / 1.467 GB, free: 2.453 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.284, allocations: 287.7 kB / 1.467 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/1.285, allocations: 146.4 kB / 1.467 GB, free: 2.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/1.285, allocations: 43.91 kB / 1.467 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/1.289, allocations: 4.541 MB / 1.472 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.289, allocations: 0 / 1.472 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/1.295, allocations: 2.438 MB / 1.474 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.296, allocations: 426.7 kB / 1.475 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/1.296, allocations: 31.98 kB / 1.475 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.298, allocations: 87.92 kB / 1.475 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/1.298, allocations: 105.2 kB / 1.475 GB, free: 9.887 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.298, allocations: 63.95 kB / 1.475 GB, free: 9.824 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00142/1.3, allocations: 0.7578 MB / 1.476 GB, free: 9.062 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.91e-07/1.3, allocations: 0 / 1.476 GB, free: 9.062 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002174/1.302, allocations: 0.6469 MB / 1.476 GB, free: 8.414 MB / 1.201 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.002111/1.304, allocations: 0.7482 MB / 1.477 GB, free: 7.848 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003409/1.308, allocations: 1.655 MB / 1.479 GB, free: 6.152 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.308, allocations: 4.5 kB / 1.479 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.309, allocations: 1.069 MB / 1.48 GB, free: 5.039 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.313, allocations: 0.7202 MB / 1.48 GB, free: 4.348 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/1.32, allocations: 3.42 MB / 1.484 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.322, allocations: 1.386 MB / 1.485 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/1.323, allocations: 187.3 kB / 1.485 GB, free: 15.29 MB / 1.217 GB Notification: Performance of SimCode: time 6.62e-07/1.323, allocations: 0 / 1.485 GB, free: 15.29 MB / 1.217 GB Notification: Performance of Templates: time 0.06641/1.389, allocations: 50.15 MB / 1.534 GB, free: 13.21 MB / 1.264 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) "" Variables in the reference:time,pow_1dat1.V_flow,pow_1dat.V_flow,pow_1dat1.dp,pow_1dat.dp Variables in the result:pow_1dat.V_flow,pow_1dat.dp,pow_1dat1.V_flow,pow_1dat1.dp,time