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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001434/0.001434, allocations: 100.1 kB / 15.88 MB, free: 12 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.001523/0.001523, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.511/1.511, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8387, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2588/1.098, allocations: 216.2 MB / 1.228 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03063/1.128, allocations: 20.74 MB / 1.249 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/1.132, allocations: 47.75 kB / 1.249 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004299/1.136, allocations: 1.096 MB / 1.25 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.846/1.982, allocations: 3.839 MB / 1.254 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005165/1.988, allocations: 1.374 MB / 1.255 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01965/2.007, allocations: 9.52 MB / 1.264 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00629/2.014, allocations: 1.997 MB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009353/2.023, allocations: 2.027 MB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/2.034, allocations: 2.532 MB / 1.271 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002248/2.036, allocations: 183.9 kB / 1.271 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/2.048, allocations: 3.953 MB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003848/2.052, allocations: 1.297 MB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008257/2.06, allocations: 1.698 MB / 1.278 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009536/2.07, allocations: 4.279 MB / 1.282 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/2.07, allocations: 0 / 1.282 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/2.07, allocations: 4 kB / 1.282 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002635/2.07, allocations: 0 / 1.282 GB, free: 5.043 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.01909/2.089, allocations: 3.943 MB / 1.286 GB, free: 19.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/2.089, allocations: 7.938 kB / 1.286 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006909/2.096, allocations: 0.8322 MB / 1.286 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006701/2.103, allocations: 1.881 MB / 1.288 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/2.103, allocations: 200.4 kB / 1.288 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/2.105, allocations: 267.4 kB / 1.289 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/2.117, allocations: 3.286 MB / 1.292 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/2.117, allocations: 3.906 kB / 1.292 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/2.118, allocations: 110.4 kB / 1.292 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/2.119, allocations: 126.3 kB / 1.292 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/2.13, allocations: 4.617 MB / 1.297 GB, free: 18.66 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.02294/2.153, allocations: 10.87 MB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007752/2.16, allocations: 4.867 MB / 1.312 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0045/2.165, allocations: 2.517 MB / 1.314 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/2.166, allocations: 0.8615 MB / 1.315 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.156e-05/2.166, allocations: 82.36 kB / 1.315 GB, free: 13.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 8.977e-06/2.166, allocations: 0 / 1.315 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01303/2.179, allocations: 6.022 MB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/2.18, allocations: 93.45 kB / 1.321 GB, free: 12.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/2.182, allocations: 1.234 MB / 1.323 GB, free: 12.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004635/2.183, allocations: 89.95 kB / 1.323 GB, free: 12.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/2.184, allocations: 0.8147 MB / 1.323 GB, free: 12.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001468/2.185, allocations: 1.33 MB / 1.325 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/2.186, allocations: 0.5473 MB / 1.325 GB, free: 11.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001391/2.187, allocations: 308.4 kB / 1.326 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/2.19, allocations: 1.604 MB / 1.327 GB, free: 11.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/2.193, allocations: 1.906 MB / 1.329 GB, free: 11.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007107/2.2, allocations: 3.833 MB / 1.333 GB, free: 10.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/2.2, allocations: 7.125 kB / 1.333 GB, free: 10.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008254/2.208, allocations: 4.183 MB / 1.337 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/2.208, allocations: 11.09 kB / 1.337 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/2.208, allocations: 3.188 kB / 1.337 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.767e-05/2.209, allocations: 21.94 kB / 1.337 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/2.212, allocations: 0.6912 MB / 1.337 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.269e-05/2.212, allocations: 17.44 kB / 1.338 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/2.215, allocations: 400.1 kB / 1.338 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/2.216, allocations: 115.8 kB / 1.338 GB, free: 10.46 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.001953/2.218, allocations: 0.7297 MB / 1.339 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/2.219, allocations: 240.1 kB / 1.339 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009203/2.228, allocations: 4.641 MB / 1.343 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/2.228, allocations: 40.03 kB / 1.344 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/2.228, allocations: 2.969 kB / 1.344 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006795/2.235, allocations: 3.951 MB / 1.347 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/2.252, allocations: 8.277 MB / 1.355 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/2.252, allocations: 4 kB / 1.355 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/2.255, allocations: 0.6573 MB / 1.356 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/2.255, allocations: 141.4 kB / 1.356 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/2.256, allocations: 83.97 kB / 1.356 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/2.26, allocations: 4.525 MB / 1.361 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.26, allocations: 0 / 1.361 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/2.273, allocations: 6.82 MB / 1.367 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/2.276, allocations: 0.7706 MB / 1.368 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009247/2.277, allocations: 64 kB / 1.368 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/2.28, allocations: 215.5 kB / 1.368 GB, free: 1.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007054/2.281, allocations: 222.8 kB / 1.369 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003943/2.281, allocations: 116 kB / 1.369 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001951/2.283, allocations: 0.8645 MB / 1.37 GB, free: 108 kB / 1.029 GB Notification: Performance of sort global known variables: time 4.41e-07/2.283, allocations: 0 / 1.37 GB, free: 108 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.004638/2.288, allocations: 1.08 MB / 1.371 GB, free: 15.02 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.001079/2.289, allocations: 343.6 kB / 1.371 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00811/2.297, allocations: 4.047 MB / 1.375 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.297, allocations: 0 / 1.375 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/2.302, allocations: 2.554 MB / 1.377 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006815/2.309, allocations: 1.039 MB / 1.378 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/2.325, allocations: 7.985 MB / 1.386 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/2.327, allocations: 1.939 MB / 1.388 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/2.33, allocations: 279.4 kB / 1.388 GB, free: 12.93 MB / 1.061 GB Notification: Performance of SimCode: time 1.313e-06/2.33, allocations: 0 / 1.388 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Templates: time 0.09595/2.426, allocations: 58.04 MB / 1.445 GB, free: 3.121 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches