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.001187/0.001187, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001238/0.001238, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.592/2.592, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.59 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2832, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.7408/1.024, allocations: 213.7 MB / 1.227 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01466/1.039, allocations: 10.2 MB / 1.237 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/1.041, allocations: 39.81 kB / 1.237 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/1.044, allocations: 0.8352 MB / 1.238 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008104/1.052, allocations: 2.894 MB / 1.241 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/1.056, allocations: 1.411 MB / 1.242 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004519/1.06, allocations: 3.165 MB / 1.246 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/1.062, allocations: 1.026 MB / 1.247 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/1.064, allocations: 1.133 MB / 1.248 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/1.066, allocations: 1.081 MB / 1.249 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/1.066, allocations: 120 kB / 1.249 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005694/1.072, allocations: 2.735 MB / 1.251 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005862/1.072, allocations: 498.6 kB / 1.252 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009658/1.073, allocations: 0.7273 MB / 1.253 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005167/1.078, allocations: 2.813 MB / 1.255 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.078, allocations: 0 / 1.255 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/1.079, allocations: 0 / 1.255 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.079, allocations: 0 / 1.255 GB, free: 6.422 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.003899/1.082, allocations: 1.788 MB / 1.257 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.082, allocations: 8.922 kB / 1.257 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/1.085, allocations: 434 kB / 1.258 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.087, allocations: 0.8863 MB / 1.258 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/1.087, allocations: 77.94 kB / 1.259 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/1.087, allocations: 104 kB / 1.259 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.089, allocations: 1.198 MB / 1.26 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/1.089, allocations: 4 kB / 1.26 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/1.089, allocations: 40 kB / 1.26 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/1.089, allocations: 49.98 kB / 1.26 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/1.091, allocations: 1.07 MB / 1.261 GB, free: 0.6484 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.005481/1.097, allocations: 4.746 MB / 1.266 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.098, allocations: 0.9919 MB / 1.267 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/1.099, allocations: 0.5721 MB / 1.267 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/1.1, allocations: 0.6811 MB / 1.268 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.1, allocations: 39.22 kB / 1.268 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.294e-06/1.1, allocations: 0 / 1.268 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.004129/1.104, allocations: 2.296 MB / 1.27 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.104, allocations: 60.41 kB / 1.27 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007322/1.105, allocations: 0.6411 MB / 1.271 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/1.105, allocations: 41.7 kB / 1.271 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.105, allocations: 460 kB / 1.271 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.105, allocations: 295.7 kB / 1.271 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.106, allocations: 138.6 kB / 1.272 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.106, allocations: 390.8 kB / 1.272 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/1.106, allocations: 321.8 kB / 1.272 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/1.107, allocations: 426.5 kB / 1.273 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.108, allocations: 0.7846 MB / 1.273 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.108, allocations: 0 / 1.273 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00151/1.11, allocations: 0.9464 MB / 1.274 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.11, allocations: 7.984 kB / 1.274 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.11, allocations: 4 kB / 1.274 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/1.11, allocations: 56.83 kB / 1.274 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.111, allocations: 155.8 kB / 1.275 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005011/1.111, allocations: 0.6149 MB / 1.275 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/1.112, allocations: 19.94 kB / 1.275 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/1.112, allocations: 24 kB / 1.275 GB, free: 1.188 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.0004698/1.113, allocations: 305.6 kB / 1.276 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.113, allocations: 98.84 kB / 1.276 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.114, allocations: 0.9324 MB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.114, allocations: 8 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.114, allocations: 0 / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.116, allocations: 0.9348 MB / 1.277 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/1.119, allocations: 2.11 MB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/1.119, allocations: 8.062 kB / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009564/1.12, allocations: 187.8 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.12, allocations: 4 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.12, allocations: 23.92 kB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.12, allocations: 7.938 kB / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.12, allocations: 0 / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.122, allocations: 1.392 MB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/1.122, allocations: 248 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.122, allocations: 19.94 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/1.123, allocations: 25.48 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.123, allocations: 52.92 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/1.123, allocations: 20 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005356/1.124, allocations: 459 kB / 1.282 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/1.124, allocations: 0 / 1.282 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008332/1.124, allocations: 319.9 kB / 1.282 GB, free: 9.914 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.0003437/1.125, allocations: 210.1 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.126, allocations: 0.8246 MB / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.126, allocations: 0 / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/1.127, allocations: 437.6 kB / 1.284 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/1.129, allocations: 0.5942 MB / 1.284 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/1.133, allocations: 2.286 MB / 1.286 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/1.133, allocations: 1.124 MB / 1.288 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009417/1.134, allocations: 255.7 kB / 1.288 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/1.134, allocations: 79.42 kB / 1.288 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/1.134, allocations: 0 / 1.288 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.03202/1.167, allocations: 20.48 MB / 1.308 GB, free: 15.87 MB / 1.014 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 -s gbode -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