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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008685/0.0008689, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006712/0.006712, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.591/1.591, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.027/3.027, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004399, allocations: 8.781 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4637, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.349/1.813, allocations: 213.2 MB / 1.267 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04286/1.855, allocations: 20.51 MB / 1.287 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005403/1.861, allocations: 47.09 kB / 1.287 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005405/1.866, allocations: 1.093 MB / 1.288 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01663/1.883, allocations: 3.842 MB / 1.292 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006884/1.89, allocations: 1.388 MB / 1.293 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01846/1.908, allocations: 9.514 MB / 1.302 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005493/1.914, allocations: 1.939 MB / 1.304 GB, free: 18.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008849/1.923, allocations: 1.964 MB / 1.306 GB, free: 18.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/1.933, allocations: 2.466 MB / 1.309 GB, free: 18.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002793/1.936, allocations: 160.2 kB / 1.309 GB, free: 18.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/1.95, allocations: 3.924 MB / 1.313 GB, free: 18.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/1.954, allocations: 1.259 MB / 1.314 GB, free: 17.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007101/1.961, allocations: 1.674 MB / 1.315 GB, free: 17.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/1.976, allocations: 5.737 MB / 1.321 GB, free: 17.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.976, allocations: 4 kB / 1.321 GB, free: 17.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.606e-06/1.976, allocations: 0 / 1.321 GB, free: 17.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002195/1.976, allocations: 2.625 kB / 1.321 GB, free: 17.39 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.01087/1.987, allocations: 3.45 MB / 1.324 GB, free: 15.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.987, allocations: 9.406 kB / 1.324 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005829/1.993, allocations: 0.8395 MB / 1.325 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/1.998, allocations: 1.874 MB / 1.327 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/1.999, allocations: 209.5 kB / 1.327 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008874/2, allocations: 274 kB / 1.328 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/2.006, allocations: 3.28 MB / 1.331 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/2.006, allocations: 0 / 1.331 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/2.007, allocations: 115.2 kB / 1.331 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/2.007, allocations: 128.8 kB / 1.331 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00783/2.015, allocations: 4.624 MB / 1.336 GB, free: 14.68 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.02063/2.035, allocations: 10.88 MB / 1.346 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006551/2.042, allocations: 4.86 MB / 1.351 GB, free: 8.148 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003745/2.046, allocations: 2.527 MB / 1.353 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/2.047, allocations: 0.8726 MB / 1.354 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/2.047, allocations: 80.58 kB / 1.354 GB, free: 6.855 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.972e-06/2.047, allocations: 4 kB / 1.354 GB, free: 6.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01094/2.058, allocations: 6.037 MB / 1.36 GB, free: 4.809 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/2.058, allocations: 92.17 kB / 1.36 GB, free: 4.742 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/2.06, allocations: 1.228 MB / 1.362 GB, free: 4.086 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005622/2.061, allocations: 92.73 kB / 1.362 GB, free: 4.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/2.062, allocations: 0.8087 MB / 1.362 GB, free: 3.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/2.063, allocations: 1.33 MB / 1.364 GB, free: 2.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/2.064, allocations: 277.3 kB / 1.364 GB, free: 1.957 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001072/2.064, allocations: 301.1 kB / 1.364 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/2.067, allocations: 1.605 MB / 1.366 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/2.07, allocations: 1.911 MB / 1.368 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007507/2.077, allocations: 3.832 MB / 1.371 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/2.077, allocations: 5.25 kB / 1.371 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0107/2.088, allocations: 4.201 MB / 1.376 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/2.088, allocations: 4 kB / 1.376 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/2.088, allocations: 14.75 kB / 1.376 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/2.088, allocations: 19.98 kB / 1.376 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/2.091, allocations: 0.6841 MB / 1.376 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.588e-05/2.092, allocations: 22.53 kB / 1.376 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/2.096, allocations: 401.2 kB / 1.377 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/2.097, allocations: 120 kB / 1.377 GB, free: 10.29 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.002078/2.099, allocations: 0.721 MB / 1.377 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008153/2.1, allocations: 241.1 kB / 1.378 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008125/2.108, allocations: 4.646 MB / 1.382 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/2.108, allocations: 43.94 kB / 1.382 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/2.108, allocations: 0 / 1.382 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006046/2.114, allocations: 3.959 MB / 1.386 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/2.129, allocations: 8.282 MB / 1.394 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/2.129, allocations: 2.531 kB / 1.394 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/2.132, allocations: 0.6674 MB / 1.395 GB, free: 7.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/2.132, allocations: 138.5 kB / 1.395 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/2.133, allocations: 83.92 kB / 1.395 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/2.136, allocations: 4.512 MB / 1.399 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.136, allocations: 4.062 kB / 1.399 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/2.148, allocations: 6.83 MB / 1.406 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002556/2.151, allocations: 0.759 MB / 1.407 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/2.151, allocations: 68 kB / 1.407 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/2.154, allocations: 223.2 kB / 1.407 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/2.154, allocations: 226.8 kB / 1.407 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/2.155, allocations: 108 kB / 1.407 GB, free: 10.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001337/2.156, allocations: 0.8606 MB / 1.408 GB, free: 9.469 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.41e-07/2.156, allocations: 0 / 1.408 GB, free: 9.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003573/2.159, allocations: 1.088 MB / 1.409 GB, free: 8.379 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.0007683/2.16, allocations: 351.9 kB / 1.41 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006382/2.167, allocations: 4.042 MB / 1.414 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.167, allocations: 0 / 1.414 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003871/2.171, allocations: 2.573 MB / 1.416 GB, free: 1.527 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/2.177, allocations: 1.018 MB / 1.417 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/2.192, allocations: 8.092 MB / 1.425 GB, free: 8.387 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/2.194, allocations: 1.935 MB / 1.427 GB, free: 6.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005083/2.199, allocations: 1.223 MB / 1.428 GB, free: 5.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/2.2, allocations: 239.4 kB / 1.428 GB, free: 4.945 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/2.2, allocations: 0 / 1.428 GB, free: 4.945 MB / 1.076 GB Notification: Performance of Templates: time 0.09833/2.298, allocations: 45.1 MB / 1.472 GB, free: 8.426 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches