Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001145/0.001146, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.01097/0.01097, allocations: 181 kB / 16.26 MB, free: 6.605 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7242, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.231/0.9553, allocations: 213.2 MB / 1.231 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7909/1.746, allocations: 20.5 MB / 1.251 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/1.75, allocations: 49.5 kB / 1.251 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/1.754, allocations: 1.09 MB / 1.252 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0122/1.766, allocations: 3.841 MB / 1.256 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004738/1.771, allocations: 1.387 MB / 1.257 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01654/1.787, allocations: 9.507 MB / 1.267 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004729/1.792, allocations: 1.935 MB / 1.269 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005993/1.798, allocations: 1.973 MB / 1.271 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00628/1.804, allocations: 2.456 MB / 1.273 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007147/1.805, allocations: 159.6 kB / 1.273 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009204/1.814, allocations: 3.922 MB / 1.277 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/1.817, allocations: 1.261 MB / 1.278 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005333/1.822, allocations: 1.672 MB / 1.28 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.834, allocations: 5.747 MB / 1.285 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.834, allocations: 0 / 1.285 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/1.834, allocations: 0 / 1.285 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001763/1.834, allocations: 0 / 1.285 GB, free: 17.51 MB / 0.9981 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.009314/1.843, allocations: 3.448 MB / 1.289 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.843, allocations: 12.03 kB / 1.289 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/1.848, allocations: 0.8301 MB / 1.29 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/1.853, allocations: 1.883 MB / 1.291 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.853, allocations: 204.5 kB / 1.292 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004936/1.853, allocations: 268.8 kB / 1.292 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/1.859, allocations: 3.283 MB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/1.859, allocations: 4 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/1.859, allocations: 116 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.859, allocations: 122 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/1.866, allocations: 4.623 MB / 1.3 GB, free: 15.18 MB / 0.9981 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.01646/1.883, allocations: 10.89 MB / 1.311 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/1.889, allocations: 4.862 MB / 1.315 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/1.892, allocations: 2.532 MB / 1.318 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.893, allocations: 0.8674 MB / 1.319 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.451e-05/1.893, allocations: 78.61 kB / 1.319 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.041e-06/1.893, allocations: 0 / 1.319 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01065/1.904, allocations: 6.042 MB / 1.325 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.904, allocations: 94.64 kB / 1.325 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/1.906, allocations: 1.224 MB / 1.326 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.907, allocations: 91.58 kB / 1.326 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000724/1.907, allocations: 0.8143 MB / 1.327 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.909, allocations: 1.341 MB / 1.328 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/1.909, allocations: 264.5 kB / 1.328 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.91, allocations: 304.7 kB / 1.329 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/1.912, allocations: 1.604 MB / 1.33 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/1.915, allocations: 1.913 MB / 1.332 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.921, allocations: 3.836 MB / 1.336 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.921, allocations: 0 / 1.336 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008126/1.929, allocations: 4.201 MB / 1.34 GB, free: 20 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/1.929, allocations: 9.312 kB / 1.34 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.929, allocations: 2.344 kB / 1.34 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.706e-05/1.93, allocations: 16.53 kB / 1.34 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.932, allocations: 0.6828 MB / 1.341 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-05/1.933, allocations: 22.95 kB / 1.341 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.937, allocations: 401.9 kB / 1.341 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/1.937, allocations: 112.8 kB / 1.341 GB, free: 15.63 MB / 1.014 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.001917/1.939, allocations: 0.7292 MB / 1.342 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008041/1.94, allocations: 249.1 kB / 1.342 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008541/1.948, allocations: 4.644 MB / 1.347 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/1.948, allocations: 38.73 kB / 1.347 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.948, allocations: 4 kB / 1.347 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006151/1.954, allocations: 3.955 MB / 1.35 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/1.969, allocations: 8.284 MB / 1.359 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.969, allocations: 0 / 1.359 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/1.972, allocations: 0.6615 MB / 1.359 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/1.973, allocations: 142.5 kB / 1.359 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/1.973, allocations: 83.97 kB / 1.359 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/1.977, allocations: 4.521 MB / 1.364 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.977, allocations: 4 kB / 1.364 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.989, allocations: 6.822 MB / 1.37 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.991, allocations: 0.7627 MB / 1.371 GB, free: 1.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.991, allocations: 70.41 kB / 1.371 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.993, allocations: 216.2 kB / 1.371 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/1.994, allocations: 230.8 kB / 1.372 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.994, allocations: 116 kB / 1.372 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001347/1.995, allocations: 0.8567 MB / 1.373 GB, free: 15.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.412e-06/1.995, allocations: 0 / 1.373 GB, free: 15.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002984/1.998, allocations: 1.091 MB / 1.374 GB, free: 14.77 MB / 1.045 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.0007593/1.999, allocations: 343.7 kB / 1.374 GB, free: 14.47 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00648/2.006, allocations: 4.049 MB / 1.378 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/2.006, allocations: 4 kB / 1.378 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/2.009, allocations: 2.555 MB / 1.381 GB, free: 7.934 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/2.015, allocations: 1.027 MB / 1.382 GB, free: 6.918 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/2.028, allocations: 8.09 MB / 1.389 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/2.03, allocations: 1.946 MB / 1.391 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004356/2.034, allocations: 1.215 MB / 1.393 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009136/2.035, allocations: 247.4 kB / 1.393 GB, free: 11.37 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/2.035, allocations: 0 / 1.393 GB, free: 11.37 MB / 1.061 GB Notification: Performance of Templates: time 0.08464/2.12, allocations: 45.1 MB / 1.437 GB, free: 14.93 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches