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.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.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.00202/0.00202, allocations: 101.1 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.002177/0.002178, 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.608/1.608, 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 10.1.1-maint.10.0.x/package.mo): time 3.941/3.941, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.02 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4309, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.042/1.473, allocations: 213.6 MB / 1.227 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01811/1.492, allocations: 10.2 MB / 1.237 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/1.494, allocations: 35.81 kB / 1.237 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00279/1.497, allocations: 0.8352 MB / 1.237 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009743/1.507, allocations: 2.89 MB / 1.24 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005334/1.512, allocations: 1.412 MB / 1.242 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006798/1.519, allocations: 3.16 MB / 1.245 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/1.521, allocations: 1.031 MB / 1.246 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/1.523, allocations: 1.129 MB / 1.247 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/1.525, allocations: 1.073 MB / 1.248 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/1.525, allocations: 120 kB / 1.248 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005901/1.531, allocations: 2.732 MB / 1.251 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005954/1.532, allocations: 498.7 kB / 1.251 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009709/1.533, allocations: 0.7273 MB / 1.252 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/1.538, allocations: 2.789 MB / 1.255 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.538, allocations: 4 kB / 1.255 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/1.538, allocations: 0 / 1.255 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.412e-05/1.538, allocations: 3.938 kB / 1.255 GB, free: 7.145 MB / 0.9512 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.004098/1.542, allocations: 1.788 MB / 1.256 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.542, allocations: 16.92 kB / 1.256 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/1.545, allocations: 426 kB / 1.257 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.547, allocations: 0.8473 MB / 1.258 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/1.547, allocations: 77.92 kB / 1.258 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/1.547, allocations: 95.98 kB / 1.258 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/1.549, allocations: 1.198 MB / 1.259 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.549, allocations: 4 kB / 1.259 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.549, allocations: 36 kB / 1.259 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/1.549, allocations: 53.98 kB / 1.259 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.551, allocations: 1.073 MB / 1.26 GB, free: 1.41 MB / 0.9512 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.005848/1.557, allocations: 4.785 MB / 1.265 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.558, allocations: 0.9841 MB / 1.266 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.559, allocations: 0.5738 MB / 1.266 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/1.56, allocations: 0.6733 MB / 1.267 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.56, allocations: 43.22 kB / 1.267 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.826e-06/1.56, allocations: 3.938 kB / 1.267 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.00442/1.565, allocations: 2.296 MB / 1.269 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.565, allocations: 68.34 kB / 1.269 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/1.566, allocations: 0.6372 MB / 1.27 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/1.566, allocations: 41.7 kB / 1.27 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/1.566, allocations: 464 kB / 1.27 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.566, allocations: 291.7 kB / 1.271 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.567, allocations: 142.6 kB / 1.271 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002361/1.567, allocations: 390.8 kB / 1.271 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/1.567, allocations: 321.8 kB / 1.271 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/1.568, allocations: 419.5 kB / 1.272 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.569, allocations: 0.7807 MB / 1.273 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.569, allocations: 7.984 kB / 1.273 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001611/1.571, allocations: 0.9502 MB / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.571, allocations: 6.812 kB / 1.274 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.571, allocations: 4.938 kB / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/1.571, allocations: 61.08 kB / 1.274 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/1.572, allocations: 160.4 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/1.573, allocations: 0.6069 MB / 1.274 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/1.573, allocations: 23.94 kB / 1.274 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.573, allocations: 28.06 kB / 1.274 GB, free: 1.914 MB / 0.9669 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.0005073/1.574, allocations: 301.7 kB / 1.275 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.574, allocations: 98.91 kB / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/1.576, allocations: 0.9295 MB / 1.276 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.576, allocations: 8 kB / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.576, allocations: 0 / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/1.577, allocations: 0.9311 MB / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/1.581, allocations: 2.115 MB / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.581, allocations: 0 / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/1.582, allocations: 191.8 kB / 1.279 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/1.582, allocations: 7.984 kB / 1.279 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/1.582, allocations: 16 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/1.582, allocations: 11.92 kB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.582, allocations: 0 / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/1.584, allocations: 1.391 MB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/1.584, allocations: 248 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.585, allocations: 23.94 kB / 1.281 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/1.585, allocations: 25.48 kB / 1.281 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.585, allocations: 52.92 kB / 1.281 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/1.585, allocations: 20 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006705/1.586, allocations: 459 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.586, allocations: 4 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009907/1.587, allocations: 319.9 kB / 1.281 GB, free: 10.64 MB / 0.9825 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.0004299/1.588, allocations: 208.8 kB / 1.282 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002196/1.59, allocations: 1.008 MB / 1.283 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.59, allocations: 4 kB / 1.283 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/1.591, allocations: 437.6 kB / 1.283 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.593, allocations: 0.5854 MB / 1.284 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/1.598, allocations: 2.378 MB / 1.286 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/1.599, allocations: 1.128 MB / 1.287 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/1.599, allocations: 87.42 kB / 1.287 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/1.599, allocations: 3.938 kB / 1.287 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of Templates: time 0.0297/1.629, allocations: 18.69 MB / 1.305 GB, free: 2.152 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