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.001634/0.001633, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001708/0.001709, allocations: 192.9 kB / 16.14 MB, free: 6.738 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.734/2.734, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 0.8686 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7832, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2899/1.073, allocations: 216.2 MB / 1.228 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03882/1.112, allocations: 20.74 MB / 1.248 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/1.116, allocations: 47.69 kB / 1.248 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0043/1.12, allocations: 1.092 MB / 1.249 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/1.133, allocations: 3.844 MB / 1.253 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7146/1.847, allocations: 1.376 MB / 1.254 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01694/1.864, allocations: 9.51 MB / 1.263 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005577/1.87, allocations: 2 MB / 1.265 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/1.878, allocations: 2.031 MB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00839/1.886, allocations: 2.531 MB / 1.27 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.887, allocations: 189.5 kB / 1.27 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/1.898, allocations: 3.949 MB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003317/1.901, allocations: 1.299 MB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006193/1.908, allocations: 1.697 MB / 1.277 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.921, allocations: 5.823 MB / 1.283 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.921, allocations: 0 / 1.283 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.921, allocations: 0 / 1.283 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002047/1.921, allocations: 0 / 1.283 GB, free: 4.766 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.01252/1.933, allocations: 3.953 MB / 1.286 GB, free: 19.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.934, allocations: 10.22 kB / 1.286 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005809/1.939, allocations: 0.8275 MB / 1.287 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/1.944, allocations: 1.881 MB / 1.289 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.944, allocations: 203.7 kB / 1.289 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007169/1.945, allocations: 266.5 kB / 1.29 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/1.951, allocations: 3.28 MB / 1.293 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/1.951, allocations: 3.906 kB / 1.293 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/1.951, allocations: 112.9 kB / 1.293 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.951, allocations: 125.5 kB / 1.293 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/1.959, allocations: 4.622 MB / 1.297 GB, free: 18.36 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.0194/1.978, allocations: 10.87 MB / 1.308 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/1.984, allocations: 4.875 MB / 1.313 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/1.987, allocations: 2.518 MB / 1.315 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.989, allocations: 0.8619 MB / 1.316 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/1.989, allocations: 84.67 kB / 1.316 GB, free: 13.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.402e-06/1.989, allocations: 0 / 1.316 GB, free: 13.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01025/1.999, allocations: 6.019 MB / 1.322 GB, free: 12.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/1.999, allocations: 100.1 kB / 1.322 GB, free: 12.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/2.001, allocations: 1.228 MB / 1.323 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/2.001, allocations: 96.27 kB / 1.323 GB, free: 12.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/2.002, allocations: 0.8127 MB / 1.324 GB, free: 12.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/2.003, allocations: 1.331 MB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007844/2.004, allocations: 0.5483 MB / 1.326 GB, free: 11.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001483/2.004, allocations: 305.1 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/2.006, allocations: 1.602 MB / 1.328 GB, free: 10.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/2.009, allocations: 1.906 MB / 1.33 GB, free: 10.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/2.014, allocations: 3.835 MB / 1.334 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/2.014, allocations: 2.906 kB / 1.334 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006677/2.021, allocations: 4.191 MB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/2.021, allocations: 6.344 kB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/2.021, allocations: 3 kB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/2.021, allocations: 17.91 kB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/2.024, allocations: 0.6906 MB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/2.024, allocations: 23.19 kB / 1.338 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/2.027, allocations: 394 kB / 1.339 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/2.027, allocations: 116.5 kB / 1.339 GB, free: 10.15 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.001559/2.029, allocations: 0.7286 MB / 1.34 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/2.03, allocations: 239.6 kB / 1.34 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007843/2.038, allocations: 4.641 MB / 1.344 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/2.038, allocations: 38.59 kB / 1.344 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/2.038, allocations: 3.438 kB / 1.344 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006261/2.044, allocations: 3.958 MB / 1.348 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/2.06, allocations: 8.271 MB / 1.356 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/2.06, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/2.063, allocations: 0.6658 MB / 1.357 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/2.063, allocations: 138.5 kB / 1.357 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/2.064, allocations: 79.98 kB / 1.357 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/2.068, allocations: 4.526 MB / 1.362 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.068, allocations: 0 / 1.362 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/2.081, allocations: 6.824 MB / 1.368 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/2.084, allocations: 0.7627 MB / 1.369 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008944/2.085, allocations: 68 kB / 1.369 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003265/2.088, allocations: 219.4 kB / 1.369 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006671/2.089, allocations: 214.8 kB / 1.37 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.089, allocations: 119.8 kB / 1.37 GB, free: 15.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001668/2.091, allocations: 0.8606 MB / 1.37 GB, free: 14.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.61e-07/2.091, allocations: 4 kB / 1.37 GB, free: 14.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004499/2.095, allocations: 1.08 MB / 1.372 GB, free: 13.66 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.0008964/2.096, allocations: 348.6 kB / 1.372 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007661/2.104, allocations: 4.039 MB / 1.376 GB, free: 9.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/2.104, allocations: 4.062 kB / 1.376 GB, free: 9.359 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004482/2.108, allocations: 2.557 MB / 1.378 GB, free: 6.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005803/2.114, allocations: 1.035 MB / 1.379 GB, free: 5.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/2.128, allocations: 7.842 MB / 1.387 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/2.13, allocations: 1.946 MB / 1.389 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004726/2.135, allocations: 1.219 MB / 1.39 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/2.136, allocations: 239.4 kB / 1.39 GB, free: 10.52 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/2.136, allocations: 0 / 1.39 GB, free: 10.52 MB / 1.061 GB Notification: Performance of Templates: time 0.09028/2.226, allocations: 45.6 MB / 1.435 GB, free: 13.6 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=400 -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