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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001735/0.001735, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001636/0.001637, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 65.2 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3753, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.933/1.308, allocations: 218.5 MB / 1.164 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02932/1.338, allocations: 20.43 MB / 1.184 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004736/1.342, allocations: 58.41 kB / 1.184 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004433/1.347, allocations: 1.245 MB / 1.185 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/1.361, allocations: 4.085 MB / 1.189 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005026/1.366, allocations: 1.532 MB / 1.19 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.376, allocations: 6.973 MB / 1.197 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/1.38, allocations: 2.359 MB / 1.199 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/1.386, allocations: 2.358 MB / 1.202 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005629/1.391, allocations: 2.461 MB / 1.204 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001542/1.393, allocations: 344.1 kB / 1.205 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/1.404, allocations: 3.462 MB / 1.208 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003152/1.407, allocations: 1.446 MB / 1.209 GB, free: 72 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006081/1.413, allocations: 1.87 MB / 1.211 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.429, allocations: 5.72 MB / 1.217 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.429, allocations: 5.969 kB / 1.217 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.805e-06/1.429, allocations: 0 / 1.217 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002572/1.43, allocations: 0 / 1.217 GB, free: 11.16 MB / 0.8887 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.01502/1.445, allocations: 3.948 MB / 1.221 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.445, allocations: 9.906 kB / 1.221 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/1.451, allocations: 0.8337 MB / 1.221 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/1.457, allocations: 1.875 MB / 1.223 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/1.457, allocations: 205.3 kB / 1.223 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/1.458, allocations: 271.9 kB / 1.224 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/1.47, allocations: 3.272 MB / 1.227 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.47, allocations: 5.203 kB / 1.227 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000893/1.471, allocations: 112.2 kB / 1.227 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/1.471, allocations: 121.4 kB / 1.227 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.482, allocations: 4.632 MB / 1.232 GB, free: 1.379 MB / 0.8887 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.02555/1.507, allocations: 10.97 MB / 1.242 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008591/1.516, allocations: 4.878 MB / 1.247 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004924/1.521, allocations: 2.516 MB / 1.25 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/1.522, allocations: 0.8759 MB / 1.25 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.655e-05/1.523, allocations: 77.7 kB / 1.25 GB, free: 13.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=399): time 7.013e-06/1.523, allocations: 0 / 1.25 GB, free: 13.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=399): time 0.01361/1.536, allocations: 6.019 MB / 1.256 GB, free: 7.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.536, allocations: 94.55 kB / 1.256 GB, free: 6.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/1.539, allocations: 1.232 MB / 1.258 GB, free: 5.711 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005508/1.539, allocations: 93.7 kB / 1.258 GB, free: 5.613 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000808/1.54, allocations: 0.8135 MB / 1.259 GB, free: 4.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.542, allocations: 1.336 MB / 1.26 GB, free: 3.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.544, allocations: 0.543 MB / 1.26 GB, free: 2.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.544, allocations: 301.1 kB / 1.261 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.547, allocations: 1.603 MB / 1.262 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.55, allocations: 1.913 MB / 1.264 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/1.557, allocations: 3.831 MB / 1.268 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/1.557, allocations: 4 kB / 1.268 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007785/1.565, allocations: 4.191 MB / 1.272 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.565, allocations: 11.92 kB / 1.272 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.565, allocations: 4 kB / 1.272 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/1.565, allocations: 16 kB / 1.272 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/1.568, allocations: 0.6788 MB / 1.273 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.226e-05/1.568, allocations: 19.94 kB / 1.273 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/1.571, allocations: 245.3 kB / 1.273 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/1.571, allocations: 116 kB / 1.273 GB, free: 5.824 MB / 0.9356 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.001814/1.573, allocations: 0.7235 MB / 1.274 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009968/1.574, allocations: 241.1 kB / 1.274 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008673/1.583, allocations: 4.639 MB / 1.278 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/1.583, allocations: 43.94 kB / 1.279 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.583, allocations: 0 / 1.279 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006433/1.589, allocations: 3.954 MB / 1.282 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.605, allocations: 8.273 MB / 1.29 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.605, allocations: 0 / 1.29 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/1.608, allocations: 0.6632 MB / 1.291 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/1.608, allocations: 142.4 kB / 1.291 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/1.609, allocations: 83.92 kB / 1.291 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/1.613, allocations: 5.043 MB / 1.296 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.613, allocations: 0 / 1.296 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.625, allocations: 6.814 MB / 1.303 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.627, allocations: 0.7666 MB / 1.304 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007256/1.628, allocations: 68 kB / 1.304 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/1.63, allocations: 88.7 kB / 1.304 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/1.631, allocations: 222.8 kB / 1.304 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.631, allocations: 119.9 kB / 1.304 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001657/1.633, allocations: 0.8645 MB / 1.305 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/1.633, allocations: 0 / 1.305 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003695/1.637, allocations: 1.069 MB / 1.306 GB, free: 3.32 MB / 0.9669 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.0008752/1.637, allocations: 338.5 kB / 1.306 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02391/1.661, allocations: 11.48 MB / 1.318 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.661, allocations: 4 kB / 1.318 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/1.667, allocations: 2.551 MB / 1.32 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007032/1.674, allocations: 1.077 MB / 1.321 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.689, allocations: 6.808 MB / 1.328 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.691, allocations: 1.939 MB / 1.33 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.693, allocations: 287.3 kB / 1.33 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of SimCode: time 1.833e-06/1.693, allocations: 4 kB / 1.33 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.09273/1.786, allocations: 58.03 MB / 1.387 GB, free: 0.7969 MB / 1.045 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