Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009963/0.0009964, allocations: 92.16 kB / 16.02 MB, free: 80 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.001354/0.001354, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005296, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9184, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2248/1.143, allocations: 181.8 MB / 1.133 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02368/1.167, allocations: 15.76 MB / 1.149 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/1.169, allocations: 39.75 kB / 1.149 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.172, allocations: 0.5788 MB / 1.149 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007064/1.179, allocations: 2.008 MB / 1.151 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005352/1.184, allocations: 1.605 MB / 1.153 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005649/1.19, allocations: 4.22 MB / 1.157 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/1.193, allocations: 1.697 MB / 1.159 GB, free: 14.99 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004696/1.198, allocations: 1.168 MB / 1.16 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.2, allocations: 1.077 MB / 1.161 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005397/1.201, allocations: 60 kB / 1.161 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/1.206, allocations: 2.027 MB / 1.163 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009549/1.207, allocations: 478 kB / 1.163 GB, free: 10.2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/1.209, allocations: 0.9377 MB / 1.164 GB, free: 9.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/1.213, allocations: 2.545 MB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.213, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.398e-06/1.213, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001242/1.214, allocations: 3.938 kB / 1.167 GB, free: 6.699 MB / 0.92 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.00549/1.219, allocations: 2.111 MB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.219, allocations: 12.03 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/1.223, allocations: 0.5243 MB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/1.225, allocations: 1.259 MB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.225, allocations: 131.2 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/1.226, allocations: 167.9 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/1.229, allocations: 1.864 MB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.229, allocations: 4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.229, allocations: 68 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.539e-05/1.229, allocations: 71.14 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/1.233, allocations: 1.874 MB / 1.174 GB, free: 14.42 MB / 0.9356 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.008712/1.241, allocations: 6.319 MB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.244, allocations: 1.594 MB / 1.182 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/1.245, allocations: 0.6514 MB / 1.183 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/1.246, allocations: 0.6376 MB / 1.183 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/1.248, allocations: 0.8762 MB / 1.184 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=142): time 3.046e-06/1.248, allocations: 0 / 1.184 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=142): time 0.005676/1.253, allocations: 2.345 MB / 1.187 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.253, allocations: 197.2 kB / 1.187 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.255, allocations: 1.089 MB / 1.188 GB, free: 60 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.255, allocations: 53.7 kB / 1.188 GB, free: 0 / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/1.256, allocations: 0.7199 MB / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/1.256, allocations: 477 kB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.256, allocations: 109.7 kB / 1.189 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.257, allocations: 357.9 kB / 1.19 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000978/1.258, allocations: 0.4958 MB / 1.19 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.259, allocations: 0.6828 MB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.261, allocations: 1.173 MB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.261, allocations: 8 kB / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003408/1.265, allocations: 1.575 MB / 1.193 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.265, allocations: 4 kB / 1.193 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.265, allocations: 7.938 kB / 1.193 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/1.265, allocations: 138.6 kB / 1.194 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.267, allocations: 315.5 kB / 1.194 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/1.271, allocations: 4.225 MB / 1.198 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.273, allocations: 188.1 kB / 1.198 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.273, allocations: 55.97 kB / 1.198 GB, free: 4.98 MB / 0.9512 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.001018/1.274, allocations: 419.2 kB / 1.199 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/1.274, allocations: 154.1 kB / 1.199 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/1.278, allocations: 1.82 MB / 1.2 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.278, allocations: 16 kB / 1.201 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.278, allocations: 7.938 kB / 1.201 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002972/1.281, allocations: 1.49 MB / 1.202 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/1.287, allocations: 3.492 MB / 1.205 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.287, allocations: 0 / 1.205 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.289, allocations: 303.6 kB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/1.289, allocations: 146.3 kB / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.289, allocations: 39.97 kB / 1.206 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/1.293, allocations: 4.237 MB / 1.21 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.294, allocations: 0 / 1.21 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/1.298, allocations: 2.448 MB / 1.212 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/1.299, allocations: 450.6 kB / 1.213 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/1.3, allocations: 32 kB / 1.213 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.301, allocations: 146.2 kB / 1.213 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/1.301, allocations: 105.2 kB / 1.213 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.302, allocations: 67.89 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001708/1.303, allocations: 0.7539 MB / 1.214 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/1.303, allocations: 7.938 kB / 1.214 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002238/1.306, allocations: 0.6273 MB / 1.214 GB, free: 3.656 MB / 0.9669 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.002322/1.308, allocations: 0.7391 MB / 1.215 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003485/1.311, allocations: 1.659 MB / 1.217 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.312, allocations: 448 / 1.217 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.313, allocations: 1.074 MB / 1.218 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.317, allocations: 0.6511 MB / 1.219 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/1.326, allocations: 4.49 MB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.328, allocations: 1.394 MB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/1.329, allocations: 183.3 kB / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.329, allocations: 0 / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.7377/2.066, allocations: 49.48 MB / 1.273 GB, free: 269.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PressurizationData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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