Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001071/0.001071, allocations: 97.78 kB / 16.02 MB, free: 76 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.001442/0.001442, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.34 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.723/2.723, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003925, allocations: 15.94 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8294, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2431/1.072, allocations: 208.6 MB / 1.227 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01548/1.088, allocations: 10.19 MB / 1.237 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/1.09, allocations: 31.81 kB / 1.237 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/1.092, allocations: 0.727 MB / 1.238 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008152/1.1, allocations: 2.72 MB / 1.241 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.8313/1.931, allocations: 1.292 MB / 1.242 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008412/1.94, allocations: 4.637 MB / 1.247 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/1.942, allocations: 0.8419 MB / 1.247 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/1.945, allocations: 0.9532 MB / 1.248 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/1.949, allocations: 1.085 MB / 1.249 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/1.949, allocations: 60.92 kB / 1.249 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008761/1.958, allocations: 3.188 MB / 1.253 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/1.959, allocations: 435.9 kB / 1.253 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/1.961, allocations: 0.6706 MB / 1.254 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004927/1.966, allocations: 2.032 MB / 1.256 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.966, allocations: 0 / 1.256 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.915e-06/1.966, allocations: 0 / 1.256 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.83e-05/1.966, allocations: 5.156 kB / 1.256 GB, free: 4.684 MB / 0.9825 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.005876/1.972, allocations: 1.554 MB / 1.257 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.972, allocations: 9.25 kB / 1.257 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/1.976, allocations: 432.6 kB / 1.258 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/1.978, allocations: 0.8513 MB / 1.258 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/1.978, allocations: 71.94 kB / 1.258 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/1.978, allocations: 95.28 kB / 1.259 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.981, allocations: 1.2 MB / 1.26 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/1.981, allocations: 3.812 kB / 1.26 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.981, allocations: 43.72 kB / 1.26 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.726e-05/1.981, allocations: 52.47 kB / 1.26 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/1.983, allocations: 1.071 MB / 1.261 GB, free: 19.32 MB / 0.9981 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.007807/1.991, allocations: 4.74 MB / 1.265 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/1.993, allocations: 0.9902 MB / 1.266 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.994, allocations: 0.5586 MB / 1.267 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007945/1.995, allocations: 0.6816 MB / 1.268 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.995, allocations: 38.88 kB / 1.268 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.637e-06/1.995, allocations: 0 / 1.268 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.005303/2, allocations: 2.309 MB / 1.27 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/2, allocations: 60.34 kB / 1.27 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/2.001, allocations: 0.6351 MB / 1.271 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/2.001, allocations: 40.55 kB / 1.271 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/2.002, allocations: 458.6 kB / 1.271 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/2.002, allocations: 294 kB / 1.271 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/2.002, allocations: 68.33 kB / 1.271 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002072/2.002, allocations: 394.9 kB / 1.272 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/2.003, allocations: 323.8 kB / 1.272 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/2.003, allocations: 426.7 kB / 1.273 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/2.004, allocations: 0.7815 MB / 1.273 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.004, allocations: 2.969 kB / 1.273 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001535/2.006, allocations: 0.9492 MB / 1.274 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.006, allocations: 6.812 kB / 1.274 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/2.006, allocations: 3.281 kB / 1.274 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/2.006, allocations: 58.27 kB / 1.274 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/2.007, allocations: 151.8 kB / 1.274 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004937/2.007, allocations: 0.6205 MB / 1.275 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/2.008, allocations: 104.8 kB / 1.275 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/2.009, allocations: 25.59 kB / 1.275 GB, free: 13.36 MB / 0.9981 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.0006358/2.009, allocations: 310.2 kB / 1.275 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/2.009, allocations: 96.08 kB / 1.276 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/2.011, allocations: 0.927 MB / 1.276 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/2.011, allocations: 7.406 kB / 1.276 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.011, allocations: 0 / 1.276 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/2.012, allocations: 0.9313 MB / 1.277 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/2.016, allocations: 2.119 MB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.016, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/2.017, allocations: 189.3 kB / 1.28 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/2.017, allocations: 2.75 kB / 1.28 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/2.017, allocations: 23.94 kB / 1.28 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/2.017, allocations: 6.969 kB / 1.28 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.017, allocations: 3.5 kB / 1.28 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/2.018, allocations: 1.386 MB / 1.281 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/2.019, allocations: 256 kB / 1.281 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/2.019, allocations: 19.5 kB / 1.281 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/2.02, allocations: 86.61 kB / 1.281 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/2.02, allocations: 56.72 kB / 1.281 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/2.02, allocations: 26.5 kB / 1.281 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005771/2.021, allocations: 456.8 kB / 1.282 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/2.021, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001054/2.022, allocations: 312 kB / 1.282 GB, free: 12.05 MB / 0.9981 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.0003891/2.022, allocations: 225.1 kB / 1.282 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/2.024, allocations: 0.8116 MB / 1.283 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/2.024, allocations: 3.062 kB / 1.283 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/2.024, allocations: 441.3 kB / 1.284 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/2.027, allocations: 0.5638 MB / 1.284 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/2.031, allocations: 2.954 MB / 1.287 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/2.032, allocations: 1.124 MB / 1.288 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/2.032, allocations: 80.45 kB / 1.288 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/2.032, allocations: 0 / 1.288 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.03133/2.063, allocations: 18.53 MB / 1.306 GB, free: 6.742 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches