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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001129/0.001129, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.635/2.635, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6368, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2468/0.8837, allocations: 216.2 MB / 1.228 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.9119, allocations: 20.73 MB / 1.248 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.9157, allocations: 47.69 kB / 1.248 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004229/0.9199, allocations: 1.092 MB / 1.249 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.932, allocations: 3.844 MB / 1.253 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6549/1.587, allocations: 1.378 MB / 1.254 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.019/1.606, allocations: 9.509 MB / 1.263 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/1.612, allocations: 2.004 MB / 1.265 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007803/1.62, allocations: 2.031 MB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008173/1.628, allocations: 2.528 MB / 1.27 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/1.629, allocations: 185.9 kB / 1.27 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/1.64, allocations: 3.956 MB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002689/1.643, allocations: 1.296 MB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004871/1.647, allocations: 1.698 MB / 1.277 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.658, allocations: 5.828 MB / 1.283 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.658, allocations: 3.047 kB / 1.283 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.658, allocations: 0 / 1.283 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001439/1.659, allocations: 2.156 kB / 1.283 GB, free: 4.781 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.01075/1.669, allocations: 3.943 MB / 1.286 GB, free: 19.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.669, allocations: 7.969 kB / 1.286 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/1.674, allocations: 0.829 MB / 1.287 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/1.678, allocations: 1.882 MB / 1.289 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.678, allocations: 201.7 kB / 1.289 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/1.679, allocations: 266 kB / 1.289 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/1.684, allocations: 3.28 MB / 1.293 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/1.684, allocations: 7.188 kB / 1.293 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/1.685, allocations: 113.5 kB / 1.293 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.685, allocations: 126.6 kB / 1.293 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00673/1.692, allocations: 4.625 MB / 1.297 GB, free: 18.38 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.01695/1.709, allocations: 10.85 MB / 1.308 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/1.714, allocations: 4.877 MB / 1.313 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/1.718, allocations: 2.52 MB / 1.315 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.719, allocations: 0.861 MB / 1.316 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/1.719, allocations: 78.98 kB / 1.316 GB, free: 13.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.502e-06/1.719, allocations: 0 / 1.316 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.009847/1.729, allocations: 6.02 MB / 1.322 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.729, allocations: 94.98 kB / 1.322 GB, free: 12.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.731, allocations: 1.238 MB / 1.323 GB, free: 12.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/1.731, allocations: 94.05 kB / 1.323 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.732, allocations: 0.8127 MB / 1.324 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.733, allocations: 1.336 MB / 1.326 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008282/1.734, allocations: 0.5477 MB / 1.326 GB, free: 11.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.734, allocations: 301.1 kB / 1.326 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/1.736, allocations: 1.601 MB / 1.328 GB, free: 10.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/1.739, allocations: 1.911 MB / 1.33 GB, free: 10.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005589/1.744, allocations: 3.837 MB / 1.334 GB, free: 10.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.745, allocations: 2.312 kB / 1.334 GB, free: 10.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007215/1.752, allocations: 4.196 MB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.752, allocations: 5.312 kB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.752, allocations: 3.125 kB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/1.752, allocations: 18.5 kB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/1.755, allocations: 0.6821 MB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/1.755, allocations: 20.23 kB / 1.338 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.758, allocations: 405.2 kB / 1.339 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/1.758, allocations: 111.7 kB / 1.339 GB, free: 10.17 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.00171/1.76, allocations: 0.7309 MB / 1.34 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008508/1.761, allocations: 235.2 kB / 1.34 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/1.769, allocations: 4.646 MB / 1.344 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.769, allocations: 41.22 kB / 1.344 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.769, allocations: 0 / 1.344 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005988/1.775, allocations: 3.96 MB / 1.348 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.79, allocations: 8.274 MB / 1.356 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.791, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.794, allocations: 0.658 MB / 1.357 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/1.794, allocations: 134.5 kB / 1.357 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.794, allocations: 83.97 kB / 1.357 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/1.798, allocations: 4.528 MB / 1.362 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.798, allocations: 0 / 1.362 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.809, allocations: 6.824 MB / 1.368 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.811, allocations: 0.7666 MB / 1.369 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.812, allocations: 64 kB / 1.369 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.814, allocations: 207.1 kB / 1.369 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/1.814, allocations: 234.9 kB / 1.369 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.815, allocations: 116 kB / 1.37 GB, free: 15.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001235/1.816, allocations: 0.8567 MB / 1.37 GB, free: 14.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.623e-06/1.816, allocations: 0 / 1.37 GB, free: 14.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002904/1.819, allocations: 1.084 MB / 1.371 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.0006746/1.819, allocations: 347.1 kB / 1.372 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006172/1.826, allocations: 4.047 MB / 1.376 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.319e-06/1.826, allocations: 0 / 1.376 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003585/1.829, allocations: 2.554 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.005371/1.835, allocations: 1.033 MB / 1.379 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.846, allocations: 7.838 MB / 1.387 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/1.848, allocations: 1.939 MB / 1.389 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004185/1.852, allocations: 1.231 MB / 1.39 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008911/1.853, allocations: 243.4 kB / 1.39 GB, free: 10.52 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/1.853, allocations: 0 / 1.39 GB, free: 10.52 MB / 1.061 GB Notification: Performance of Templates: time 0.08019/1.933, allocations: 45.59 MB / 1.435 GB, free: 13.61 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