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.001042/0.001042, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 240 MB, free: 5.395 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.737/2.737, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003804, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.179, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2845/1.464, allocations: 199 MB / 1.149 GB, free: 8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03415/1.498, allocations: 19.09 MB / 1.167 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005308/1.503, allocations: 43.75 kB / 1.167 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004552/1.508, allocations: 0.8193 MB / 1.168 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/1.521, allocations: 3.036 MB / 1.171 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00446/1.525, allocations: 1.061 MB / 1.172 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01385/1.539, allocations: 8.036 MB / 1.18 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/1.544, allocations: 1.728 MB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00717/1.551, allocations: 2.008 MB / 1.184 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006116/1.557, allocations: 2.399 MB / 1.186 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009291/1.558, allocations: 160 kB / 1.186 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007676/1.566, allocations: 1.731 MB / 1.188 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002685/1.569, allocations: 1.266 MB / 1.189 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.571, allocations: 0.633 MB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007995/1.579, allocations: 3.959 MB / 1.194 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.579, allocations: 0 / 1.194 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.094e-06/1.579, allocations: 0 / 1.194 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001803/1.579, allocations: 0 / 1.194 GB, free: 9.891 MB / 0.9512 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.01104/1.59, allocations: 3.481 MB / 1.197 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/1.59, allocations: 8.031 kB / 1.197 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/1.596, allocations: 0.8353 MB / 1.198 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/1.602, allocations: 1.829 MB / 1.2 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/1.602, allocations: 201.4 kB / 1.2 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/1.603, allocations: 271.9 kB / 1.2 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006455/1.61, allocations: 3.263 MB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/1.61, allocations: 3.938 kB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002813/1.61, allocations: 115.9 kB / 1.203 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.61, allocations: 125.4 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008137/1.618, allocations: 4.6 MB / 1.208 GB, free: 10.99 MB / 0.9669 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.01896/1.637, allocations: 10.89 MB / 1.219 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/1.644, allocations: 4.838 MB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/1.647, allocations: 2.512 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.648, allocations: 0.8683 MB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/1.648, allocations: 85.59 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=399): time 5.07e-06/1.648, allocations: 0 / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=399): time 0.01052/1.659, allocations: 6.003 MB / 1.233 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/1.659, allocations: 94.55 kB / 1.233 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.661, allocations: 1.217 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/1.662, allocations: 89.7 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/1.662, allocations: 0.8211 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.664, allocations: 1.332 MB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.664, allocations: 72 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.664, allocations: 437.1 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.667, allocations: 1.596 MB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/1.67, allocations: 1.895 MB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.673, allocations: 1.89 MB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.673, allocations: 4 kB / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006777/1.68, allocations: 4.164 MB / 1.246 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.68, allocations: 4 kB / 1.246 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.68, allocations: 4 kB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/1.68, allocations: 23.98 kB / 1.246 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/1.682, allocations: 0.6869 MB / 1.247 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-05/1.683, allocations: 19.95 kB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.686, allocations: 401.1 kB / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.686, allocations: 112 kB / 1.247 GB, free: 1.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00165/1.688, allocations: 0.7274 MB / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007169/1.689, allocations: 245.1 kB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8173/2.506, allocations: 4.624 MB / 1.253 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/2.506, allocations: 38.39 kB / 1.253 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/2.506, allocations: 0.875 kB / 1.253 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009375/2.516, allocations: 3.947 MB / 1.256 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/2.538, allocations: 8.254 MB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/2.538, allocations: 0 / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/2.542, allocations: 0.6693 MB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/2.542, allocations: 137.3 kB / 1.265 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004279/2.543, allocations: 84 kB / 1.265 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/2.546, allocations: 4.514 MB / 1.27 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.547, allocations: 0 / 1.27 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/2.562, allocations: 6.794 MB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/2.565, allocations: 0.7626 MB / 1.277 GB, free: 266.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000756/2.566, allocations: 70.78 kB / 1.277 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/2.569, allocations: 223 kB / 1.277 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004938/2.569, allocations: 232.9 kB / 1.278 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/2.569, allocations: 111.3 kB / 1.278 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001779/2.571, allocations: 0.8491 MB / 1.279 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.571, allocations: 0 / 1.279 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004559/2.576, allocations: 1.083 MB / 1.28 GB, free: 265.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000966/2.577, allocations: 347.4 kB / 1.28 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00633/2.583, allocations: 4.03 MB / 1.284 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/2.583, allocations: 0 / 1.284 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003922/2.587, allocations: 2.539 MB / 1.286 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/2.593, allocations: 1.038 MB / 1.287 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/2.604, allocations: 7.879 MB / 1.295 GB, free: 254.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/2.605, allocations: 1.945 MB / 1.297 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004382/2.609, allocations: 1.223 MB / 1.298 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/2.61, allocations: 239.4 kB / 1.298 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.4e-06/2.61, allocations: 0 / 1.298 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07476/2.685, allocations: 43.67 MB / 1.341 GB, free: 208.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches