Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007309/0.007309, allocations: 100.4 kB / 15.87 MB, free: 6.305 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.001628/0.001628, allocations: 199 kB / 16.79 MB, free: 6.238 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.631/1.631, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.568/2.568, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.078, allocations: 140.3 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2914/1.369, allocations: 216.2 MB / 1.161 GB, free: 9.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03069/1.4, allocations: 20.72 MB / 1.181 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/1.404, allocations: 47.75 kB / 1.181 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004481/1.409, allocations: 1.096 MB / 1.182 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.422, allocations: 3.859 MB / 1.186 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/1.426, allocations: 1.377 MB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01155/1.438, allocations: 9.519 MB / 1.196 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/1.442, allocations: 2.007 MB / 1.198 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006993/1.449, allocations: 2.032 MB / 1.2 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0073/1.457, allocations: 2.534 MB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001429/1.458, allocations: 184 kB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.468, allocations: 3.951 MB / 1.207 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002902/1.471, allocations: 1.289 MB / 1.208 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00554/1.477, allocations: 1.703 MB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009445/1.486, allocations: 4.268 MB / 1.214 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.487, allocations: 4 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.975e-06/1.487, allocations: 0 / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000253/1.487, allocations: 0 / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.0155/1.502, allocations: 3.95 MB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.455e-05/1.502, allocations: 11.97 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/1.509, allocations: 0.8276 MB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/1.516, allocations: 1.879 MB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/1.517, allocations: 201.4 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.518, allocations: 268 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.529, allocations: 3.279 MB / 1.224 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.529, allocations: 8 kB / 1.224 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/1.53, allocations: 115.9 kB / 1.224 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/1.53, allocations: 129.4 kB / 1.224 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009511/1.539, allocations: 4.623 MB / 1.229 GB, free: 2.938 MB / 0.9825 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.02098/1.56, allocations: 10.87 MB / 1.24 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.57, allocations: 4.873 MB / 1.244 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.761/2.332, allocations: 2.51 MB / 1.247 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/2.333, allocations: 0.8605 MB / 1.248 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.823e-05/2.333, allocations: 80.97 kB / 1.248 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.372e-06/2.333, allocations: 0 / 1.248 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01669/2.35, allocations: 6.023 MB / 1.254 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.35, allocations: 93.62 kB / 1.254 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/2.353, allocations: 1.229 MB / 1.255 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009143/2.354, allocations: 97.06 kB / 1.255 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/2.355, allocations: 0.807 MB / 1.256 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001981/2.357, allocations: 1.337 MB / 1.257 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/2.358, allocations: 0.5476 MB / 1.258 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/2.358, allocations: 306.2 kB / 1.258 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/2.362, allocations: 1.602 MB / 1.259 GB, free: 277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/2.365, allocations: 1.905 MB / 1.261 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/2.373, allocations: 3.835 MB / 1.265 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/2.373, allocations: 1.094 kB / 1.265 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009284/2.382, allocations: 4.198 MB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/2.382, allocations: 8.281 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/2.382, allocations: 3.406 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/2.382, allocations: 19.75 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/2.386, allocations: 0.6785 MB / 1.27 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.111e-05/2.386, allocations: 24.83 kB / 1.27 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/2.39, allocations: 400 kB / 1.27 GB, free: 272.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005255/2.39, allocations: 116.2 kB / 1.27 GB, free: 272.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * 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.001893/2.392, allocations: 0.7253 MB / 1.271 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009398/2.393, allocations: 246 kB / 1.271 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009201/2.402, allocations: 4.636 MB / 1.276 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/2.402, allocations: 38.75 kB / 1.276 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/2.402, allocations: 0 / 1.276 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00706/2.41, allocations: 3.964 MB / 1.28 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/2.425, allocations: 8.27 MB / 1.288 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/2.425, allocations: 6.391 kB / 1.288 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/2.428, allocations: 0.6559 MB / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004911/2.429, allocations: 142.4 kB / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/2.429, allocations: 83.97 kB / 1.289 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/2.432, allocations: 4.513 MB / 1.293 GB, free: 256.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.432, allocations: 4 kB / 1.293 GB, free: 256.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009962/2.442, allocations: 6.818 MB / 1.3 GB, free: 250.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/2.444, allocations: 0.7627 MB / 1.3 GB, free: 249.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/2.445, allocations: 67.47 kB / 1.301 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/2.448, allocations: 212.6 kB / 1.301 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005632/2.448, allocations: 230.6 kB / 1.301 GB, free: 248.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/2.448, allocations: 113.5 kB / 1.301 GB, free: 248.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001583/2.45, allocations: 0.8606 MB / 1.302 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/2.45, allocations: 0 / 1.302 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003936/2.454, allocations: 1.083 MB / 1.303 GB, free: 246.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/2.455, allocations: 343.6 kB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007079/2.462, allocations: 4.041 MB / 1.307 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/2.462, allocations: 5.344 kB / 1.307 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/2.467, allocations: 2.56 MB / 1.31 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007676/2.474, allocations: 1.022 MB / 1.311 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/2.491, allocations: 7.994 MB / 1.319 GB, free: 231 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/2.493, allocations: 1.942 MB / 1.32 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/2.496, allocations: 279.4 kB / 1.321 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.904e-06/2.496, allocations: 0 / 1.321 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08211/2.578, allocations: 58.04 MB / 1.377 GB, free: 170.8 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches