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.001768/0.001768, allocations: 107 kB / 16.36 MB, free: 6.336 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.001785/0.001785, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.405/2.405, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.44 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.8884/1.206, allocations: 218.5 MB / 1.164 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03114/1.237, allocations: 20.43 MB / 1.184 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005308/1.242, allocations: 58.81 kB / 1.185 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004536/1.247, allocations: 1.242 MB / 1.186 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/1.261, allocations: 4.091 MB / 1.19 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005294/1.267, allocations: 1.533 MB / 1.191 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01155/1.278, allocations: 6.978 MB / 1.198 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004375/1.283, allocations: 2.36 MB / 1.2 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006202/1.289, allocations: 2.366 MB / 1.203 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007337/1.296, allocations: 2.455 MB / 1.205 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00199/1.298, allocations: 343.7 kB / 1.205 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/1.309, allocations: 3.455 MB / 1.209 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002985/1.312, allocations: 1.45 MB / 1.21 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005751/1.318, allocations: 1.87 MB / 1.212 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/1.333, allocations: 5.768 MB / 1.218 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.333, allocations: 0 / 1.218 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/1.333, allocations: 0 / 1.218 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002604/1.333, allocations: 0 / 1.218 GB, free: 10.27 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.01422/1.347, allocations: 3.948 MB / 1.221 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.348, allocations: 10.06 kB / 1.221 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/1.353, allocations: 0.8268 MB / 1.222 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/1.358, allocations: 1.939 MB / 1.224 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.358, allocations: 201.5 kB / 1.224 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005755/1.359, allocations: 270.1 kB / 1.225 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/1.365, allocations: 3.278 MB / 1.228 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/1.365, allocations: 2.406 kB / 1.228 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/1.365, allocations: 115 kB / 1.228 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/1.365, allocations: 125 kB / 1.228 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/1.373, allocations: 4.625 MB / 1.233 GB, free: 0.6016 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.01921/1.392, allocations: 10.92 MB / 1.243 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006796/1.399, allocations: 4.88 MB / 1.248 GB, free: 92 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004059/1.403, allocations: 2.52 MB / 1.25 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/1.405, allocations: 0.8642 MB / 1.251 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.922e-05/1.405, allocations: 77.7 kB / 1.251 GB, free: 12.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=399): time 6.101e-06/1.405, allocations: 0 / 1.251 GB, free: 12.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=399): time 0.01044/1.415, allocations: 6.023 MB / 1.257 GB, free: 6.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/1.415, allocations: 94.55 kB / 1.257 GB, free: 6.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.417, allocations: 1.232 MB / 1.259 GB, free: 4.996 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/1.418, allocations: 97.7 kB / 1.259 GB, free: 4.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/1.418, allocations: 0.8057 MB / 1.259 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.42, allocations: 1.332 MB / 1.261 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008404/1.421, allocations: 0.5469 MB / 1.261 GB, free: 2.172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.421, allocations: 305.1 kB / 1.262 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.423, allocations: 1.603 MB / 1.263 GB, free: 272 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/1.426, allocations: 1.905 MB / 1.265 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.432, allocations: 3.834 MB / 1.269 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.432, allocations: 0 / 1.269 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006934/1.439, allocations: 4.195 MB / 1.273 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.439, allocations: 11.94 kB / 1.273 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.439, allocations: 4 kB / 1.273 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/1.439, allocations: 16 kB / 1.273 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.442, allocations: 0.683 MB / 1.274 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.844e-05/1.442, allocations: 20 kB / 1.274 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.444, allocations: 245.3 kB / 1.274 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/1.445, allocations: 112 kB / 1.274 GB, free: 5.117 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.001467/1.446, allocations: 0.7273 MB / 1.275 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/1.447, allocations: 245.1 kB / 1.275 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/1.454, allocations: 4.621 MB / 1.279 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/1.454, allocations: 43.94 kB / 1.279 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/1.454, allocations: 3.984 kB / 1.279 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006028/1.46, allocations: 3.965 MB / 1.283 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.475, allocations: 8.266 MB / 1.291 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.475, allocations: 4 kB / 1.291 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/1.478, allocations: 0.6553 MB / 1.292 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/1.478, allocations: 146.5 kB / 1.292 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/1.479, allocations: 87.91 kB / 1.292 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/1.483, allocations: 5.023 MB / 1.297 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.483, allocations: 0 / 1.297 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.495, allocations: 6.828 MB / 1.304 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.497, allocations: 0.7666 MB / 1.305 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.498, allocations: 64 kB / 1.305 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.5, allocations: 92.33 kB / 1.305 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.5, allocations: 226.8 kB / 1.305 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.501, allocations: 112 kB / 1.305 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001307/1.502, allocations: 0.8606 MB / 1.306 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.61e-07/1.502, allocations: 0 / 1.306 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00284/1.505, allocations: 1.073 MB / 1.307 GB, free: 2.617 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.0007348/1.505, allocations: 346.6 kB / 1.307 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006449/1.512, allocations: 4.059 MB / 1.311 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.512, allocations: 0 / 1.311 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003891/1.516, allocations: 2.552 MB / 1.314 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00519/1.521, allocations: 1.079 MB / 1.315 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.532, allocations: 6.588 MB / 1.321 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/1.534, allocations: 1.943 MB / 1.323 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003968/1.538, allocations: 1.219 MB / 1.324 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009097/1.539, allocations: 239.4 kB / 1.324 GB, free: 476 kB / 0.9825 GB Notification: Performance of SimCode: time 1.082e-06/1.539, allocations: 0 / 1.324 GB, free: 476 kB / 0.9825 GB Notification: Performance of Templates: time 0.08397/1.623, allocations: 47.61 MB / 1.371 GB, free: 1.387 MB / 1.029 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 -s cvode -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