Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001523/0.001523, allocations: 100.1 kB / 15.88 MB, free: 12 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.002159/0.002159, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8725, allocations: 140.3 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2432/1.116, allocations: 211.4 MB / 1.156 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01486/1.131, allocations: 10.31 MB / 1.166 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/1.133, allocations: 31.81 kB / 1.166 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/1.135, allocations: 0.7309 MB / 1.167 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007657/1.143, allocations: 2.72 MB / 1.17 GB, free: 140 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/1.146, allocations: 1.292 MB / 1.171 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005619/1.152, allocations: 4.648 MB / 1.175 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/1.154, allocations: 0.8752 MB / 1.176 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/1.156, allocations: 0.9804 MB / 1.177 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/1.158, allocations: 1.117 MB / 1.178 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003589/1.158, allocations: 68 kB / 1.178 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006686/1.165, allocations: 3.199 MB / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/1.166, allocations: 446.6 kB / 1.182 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/1.168, allocations: 0.6687 MB / 1.182 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003834/1.172, allocations: 2.066 MB / 1.185 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.172, allocations: 0 / 1.185 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/1.172, allocations: 0 / 1.185 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.673e-05/1.172, allocations: 4 kB / 1.185 GB, free: 0.7305 MB / 0.9356 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.005507/1.177, allocations: 1.795 MB / 1.186 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.177, allocations: 8.031 kB / 1.186 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/1.181, allocations: 430 kB / 1.187 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.182, allocations: 0.8474 MB / 1.188 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/1.182, allocations: 70 kB / 1.188 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.182, allocations: 99.98 kB / 1.188 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.184, allocations: 1.198 MB / 1.189 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.184, allocations: 7.875 kB / 1.189 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.185, allocations: 40 kB / 1.189 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/1.185, allocations: 53.98 kB / 1.189 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.186, allocations: 1.069 MB / 1.19 GB, free: 10.99 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.005418/1.192, allocations: 4.738 MB / 1.195 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.193, allocations: 0.9846 MB / 1.196 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009773/1.194, allocations: 0.5714 MB / 1.196 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/1.195, allocations: 0.6733 MB / 1.197 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/1.195, allocations: 43.2 kB / 1.197 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/1.195, allocations: 0 / 1.197 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.00479/1.2, allocations: 2.308 MB / 1.199 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.2, allocations: 64.34 kB / 1.199 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/1.201, allocations: 0.6372 MB / 1.2 GB, free: 312 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/1.201, allocations: 41.7 kB / 1.2 GB, free: 264 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/1.201, allocations: 456.1 kB / 1.2 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/1.202, allocations: 295.5 kB / 1.201 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/1.202, allocations: 142.6 kB / 1.201 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.202, allocations: 394.7 kB / 1.201 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/1.203, allocations: 317.8 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/1.203, allocations: 422.5 kB / 1.202 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.204, allocations: 0.7846 MB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.204, allocations: 4 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001698/1.206, allocations: 0.9463 MB / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.206, allocations: 4 kB / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.206, allocations: 4 kB / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/1.206, allocations: 64.95 kB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/1.207, allocations: 159.8 kB / 1.204 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005754/1.208, allocations: 0.6031 MB / 1.204 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.209, allocations: 103.8 kB / 1.204 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/1.209, allocations: 28 kB / 1.204 GB, free: 11.46 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.0005499/1.21, allocations: 306.1 kB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/1.21, allocations: 86.97 kB / 1.205 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.212, allocations: 0.9284 MB / 1.206 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.212, allocations: 16 kB / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.212, allocations: 0 / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/1.213, allocations: 0.9309 MB / 1.207 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/1.217, allocations: 2.107 MB / 1.209 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.217, allocations: 0 / 1.209 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/1.218, allocations: 195.8 kB / 1.209 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/1.218, allocations: 0 / 1.209 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/1.218, allocations: 27.92 kB / 1.209 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/1.218, allocations: 4 kB / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.218, allocations: 0 / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/1.22, allocations: 1.388 MB / 1.21 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/1.22, allocations: 251.9 kB / 1.21 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.221, allocations: 24.05 kB / 1.21 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009496/1.222, allocations: 88.47 kB / 1.211 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.222, allocations: 52.92 kB / 1.211 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/1.222, allocations: 23.98 kB / 1.211 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006172/1.222, allocations: 459 kB / 1.211 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.222, allocations: 4 kB / 1.211 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001009/1.223, allocations: 323.9 kB / 1.211 GB, free: 4.133 MB / 0.9669 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.0004191/1.224, allocations: 208.2 kB / 1.212 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.225, allocations: 0.809 MB / 1.212 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.225, allocations: 0.5 kB / 1.212 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006686/1.226, allocations: 441.6 kB / 1.213 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.229, allocations: 0.5654 MB / 1.213 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/1.233, allocations: 2.81 MB / 1.216 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/1.234, allocations: 1.124 MB / 1.217 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.234, allocations: 79.44 kB / 1.217 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/1.234, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.03098/1.265, allocations: 18.69 MB / 1.236 GB, free: 11.44 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches