Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001452/0.001452, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.491/1.491, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.743 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 69.8 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3958, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9557/1.352, allocations: 213.7 MB / 1.273 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01682/1.368, allocations: 10.19 MB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/1.37, allocations: 35.81 kB / 1.283 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/1.373, allocations: 0.8352 MB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008066/1.381, allocations: 2.895 MB / 1.287 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.385, allocations: 1.404 MB / 1.288 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004732/1.39, allocations: 3.164 MB / 1.291 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/1.391, allocations: 1.03 MB / 1.292 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/1.393, allocations: 1.125 MB / 1.293 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.395, allocations: 1.091 MB / 1.295 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.395, allocations: 120 kB / 1.295 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006577/1.402, allocations: 2.736 MB / 1.297 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/1.403, allocations: 498.6 kB / 1.298 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.404, allocations: 0.7234 MB / 1.298 GB, free: 9.184 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005866/1.41, allocations: 2.79 MB / 1.301 GB, free: 6.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.41, allocations: 0 / 1.301 GB, free: 6.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.176e-06/1.41, allocations: 4 kB / 1.301 GB, free: 6.383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.41, allocations: 0 / 1.301 GB, free: 6.383 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004439/1.414, allocations: 1.792 MB / 1.303 GB, free: 4.539 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.414, allocations: 8.031 kB / 1.303 GB, free: 4.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/1.417, allocations: 426 kB / 1.303 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/1.419, allocations: 0.855 MB / 1.304 GB, free: 3.215 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/1.419, allocations: 73.98 kB / 1.304 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/1.419, allocations: 96 kB / 1.304 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.421, allocations: 1.198 MB / 1.306 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.421, allocations: 3.906 kB / 1.306 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.421, allocations: 43.98 kB / 1.306 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.886e-05/1.421, allocations: 57.92 kB / 1.306 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.423, allocations: 1.062 MB / 1.307 GB, free: 0.6484 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.00638/1.43, allocations: 4.794 MB / 1.311 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.431, allocations: 0.9894 MB / 1.312 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.432, allocations: 0.5692 MB / 1.313 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/1.433, allocations: 0.6772 MB / 1.314 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.433, allocations: 43.22 kB / 1.314 GB, free: 8.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.747e-06/1.433, allocations: 0 / 1.314 GB, free: 8.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.004736/1.438, allocations: 2.296 MB / 1.316 GB, free: 6.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.438, allocations: 64.41 kB / 1.316 GB, free: 6.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/1.439, allocations: 0.641 MB / 1.317 GB, free: 5.914 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/1.439, allocations: 41.7 kB / 1.317 GB, free: 5.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/1.439, allocations: 460 kB / 1.317 GB, free: 5.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.44, allocations: 287.8 kB / 1.317 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.44, allocations: 138.6 kB / 1.317 GB, free: 4.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002447/1.44, allocations: 390.8 kB / 1.318 GB, free: 4.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/1.441, allocations: 325.8 kB / 1.318 GB, free: 4.273 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/1.441, allocations: 430.5 kB / 1.318 GB, free: 3.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/1.443, allocations: 0.7852 MB / 1.319 GB, free: 3.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.443, allocations: 0 / 1.319 GB, free: 3.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001648/1.444, allocations: 0.9503 MB / 1.32 GB, free: 2.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.444, allocations: 4 kB / 1.32 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.444, allocations: 4 kB / 1.32 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/1.445, allocations: 55.33 kB / 1.32 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/1.445, allocations: 167.9 kB / 1.32 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005688/1.446, allocations: 0.6031 MB / 1.321 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/1.447, allocations: 19.94 kB / 1.321 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/1.447, allocations: 28 kB / 1.321 GB, free: 1.152 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005426/1.447, allocations: 301.6 kB / 1.321 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/1.448, allocations: 98.88 kB / 1.321 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/1.449, allocations: 0.9298 MB / 1.322 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.449, allocations: 8 kB / 1.322 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.449, allocations: 0 / 1.322 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/1.451, allocations: 0.9309 MB / 1.323 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/1.454, allocations: 2.115 MB / 1.325 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.454, allocations: 0 / 1.325 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/1.455, allocations: 191.8 kB / 1.326 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.455, allocations: 4 kB / 1.326 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/1.455, allocations: 16 kB / 1.326 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.455, allocations: 15.92 kB / 1.326 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.455, allocations: 0.875 kB / 1.326 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/1.457, allocations: 1.38 MB / 1.327 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/1.458, allocations: 255.9 kB / 1.327 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.458, allocations: 19.94 kB / 1.327 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/1.459, allocations: 19.98 kB / 1.327 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.459, allocations: 52.92 kB / 1.327 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/1.459, allocations: 28 kB / 1.327 GB, free: 10.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000631/1.459, allocations: 470.9 kB / 1.328 GB, free: 10.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.459, allocations: 0 / 1.328 GB, free: 10.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009879/1.46, allocations: 319.9 kB / 1.328 GB, free: 9.875 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.0004282/1.461, allocations: 213 kB / 1.328 GB, free: 9.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002075/1.463, allocations: 1.005 MB / 1.329 GB, free: 8.656 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.463, allocations: 0 / 1.329 GB, free: 8.656 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/1.464, allocations: 437.6 kB / 1.33 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.466, allocations: 0.5935 MB / 1.33 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.471, allocations: 2.382 MB / 1.333 GB, free: 5.238 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/1.472, allocations: 1.12 MB / 1.334 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/1.472, allocations: 83.42 kB / 1.334 GB, free: 4.008 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/1.472, allocations: 0 / 1.334 GB, free: 4.008 MB / 1.045 GB Notification: Performance of Templates: time 0.03395/1.506, allocations: 18.7 MB / 1.352 GB, free: 1.395 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches