Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001216/0.001216, allocations: 92 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.001825/0.001825, allocations: 180 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 13.17 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.9714/1.329, allocations: 213.2 MB / 1.268 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02852/1.358, allocations: 20.52 MB / 1.288 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/1.362, allocations: 45.53 kB / 1.288 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/1.366, allocations: 1.1 MB / 1.289 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/1.38, allocations: 3.845 MB / 1.292 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005418/1.386, allocations: 1.385 MB / 1.294 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01369/1.399, allocations: 9.519 MB / 1.303 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/1.404, allocations: 1.93 MB / 1.305 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006587/1.41, allocations: 1.966 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007512/1.418, allocations: 2.464 MB / 1.309 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/1.419, allocations: 162.7 kB / 1.309 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/1.43, allocations: 3.929 MB / 1.313 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003049/1.433, allocations: 1.261 MB / 1.315 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00524/1.438, allocations: 1.671 MB / 1.316 GB, free: 17.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007452/1.446, allocations: 4.203 MB / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.446, allocations: 3.938 kB / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.414e-06/1.446, allocations: 0 / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001671/1.446, allocations: 0 / 1.32 GB, free: 17.48 MB / 1.014 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.01054/1.456, allocations: 3.458 MB / 1.324 GB, free: 16.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.457, allocations: 15.5 kB / 1.324 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/1.462, allocations: 0.8317 MB / 1.324 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/1.467, allocations: 1.879 MB / 1.326 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/1.468, allocations: 201.6 kB / 1.326 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/1.468, allocations: 267.9 kB / 1.327 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006176/1.474, allocations: 3.284 MB / 1.33 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/1.475, allocations: 0 / 1.33 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/1.475, allocations: 113.8 kB / 1.33 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/1.475, allocations: 128.9 kB / 1.33 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007643/1.483, allocations: 4.627 MB / 1.335 GB, free: 15.04 MB / 1.014 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.02068/1.503, allocations: 10.88 MB / 1.345 GB, free: 9.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/1.511, allocations: 4.873 MB / 1.35 GB, free: 8.504 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/1.515, allocations: 2.523 MB / 1.353 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.517, allocations: 0.8742 MB / 1.353 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.693e-05/1.517, allocations: 79.89 kB / 1.353 GB, free: 7.215 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 7.805e-06/1.517, allocations: 2.734 kB / 1.353 GB, free: 7.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01271/1.529, allocations: 6.034 MB / 1.359 GB, free: 5.387 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/1.53, allocations: 92.98 kB / 1.359 GB, free: 5.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/1.532, allocations: 1.23 MB / 1.361 GB, free: 4.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005925/1.533, allocations: 92.67 kB / 1.361 GB, free: 4.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/1.534, allocations: 0.8143 MB / 1.362 GB, free: 3.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.535, allocations: 1.325 MB / 1.363 GB, free: 2.707 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007233/1.536, allocations: 272 kB / 1.363 GB, free: 2.539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.536, allocations: 301.1 kB / 1.363 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/1.539, allocations: 1.608 MB / 1.365 GB, free: 1.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/1.543, allocations: 1.912 MB / 1.367 GB, free: 412 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/1.55, allocations: 3.84 MB / 1.371 GB, free: 14.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.55, allocations: 4 kB / 1.371 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008326/1.558, allocations: 4.197 MB / 1.375 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.558, allocations: 11.06 kB / 1.375 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.558, allocations: 6.031 kB / 1.375 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.899e-05/1.558, allocations: 15.72 kB / 1.375 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/1.561, allocations: 0.6829 MB / 1.375 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.09e-05/1.561, allocations: 22.61 kB / 1.375 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/1.565, allocations: 401.1 kB / 1.376 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/1.566, allocations: 112 kB / 1.376 GB, free: 11.31 MB / 1.029 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.00215/1.568, allocations: 0.7248 MB / 1.377 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.569, allocations: 247.7 kB / 1.377 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/1.578, allocations: 4.639 MB / 1.381 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.578, allocations: 40 kB / 1.381 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/1.578, allocations: 2.188 kB / 1.381 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00677/1.585, allocations: 3.963 MB / 1.385 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/1.602, allocations: 8.279 MB / 1.393 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.602, allocations: 0 / 1.393 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/1.605, allocations: 0.6673 MB / 1.394 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/1.606, allocations: 137.1 kB / 1.394 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004823/1.606, allocations: 83.97 kB / 1.394 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003968/1.61, allocations: 4.523 MB / 1.399 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.61, allocations: 0 / 1.399 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.624, allocations: 6.82 MB / 1.405 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.626, allocations: 0.7691 MB / 1.406 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008252/1.627, allocations: 68 kB / 1.406 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/1.63, allocations: 218.2 kB / 1.406 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006112/1.631, allocations: 226.8 kB / 1.407 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/1.631, allocations: 116 kB / 1.407 GB, free: 11.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001726/1.633, allocations: 0.8606 MB / 1.407 GB, free: 10.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/1.633, allocations: 4 kB / 1.407 GB, free: 10.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004024/1.637, allocations: 1.08 MB / 1.409 GB, free: 9.406 MB / 1.061 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.0009906/1.638, allocations: 341.2 kB / 1.409 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007465/1.645, allocations: 4.045 MB / 1.413 GB, free: 5.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.645, allocations: 4 kB / 1.413 GB, free: 5.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004485/1.65, allocations: 2.549 MB / 1.415 GB, free: 2.578 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/1.657, allocations: 1.042 MB / 1.416 GB, free: 1.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.672, allocations: 8.238 MB / 1.424 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/1.674, allocations: 1.943 MB / 1.426 GB, free: 7.281 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00243/1.677, allocations: 275.4 kB / 1.427 GB, free: 7.012 MB / 1.076 GB Notification: Performance of SimCode: time 1.193e-06/1.677, allocations: 0 / 1.427 GB, free: 7.012 MB / 1.076 GB Notification: Performance of Templates: time 0.08787/1.764, allocations: 57.66 MB / 1.483 GB, free: 13.49 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches