Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001901/0.001901, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001908/0.001908, allocations: 191 kB / 17.29 MB, free: 5.516 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.7133/0.9867, allocations: 213.7 MB / 1.235 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01343/1, allocations: 10.19 MB / 1.245 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/1.002, allocations: 39.75 kB / 1.245 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/1.004, allocations: 0.8391 MB / 1.246 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006555/1.01, allocations: 2.893 MB / 1.249 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/1.014, allocations: 1.413 MB / 1.25 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003962/1.018, allocations: 3.167 MB / 1.253 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.019, allocations: 1.026 MB / 1.254 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/1.021, allocations: 1.129 MB / 1.256 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.023, allocations: 1.082 MB / 1.257 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/1.023, allocations: 120 kB / 1.257 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/1.028, allocations: 2.732 MB / 1.259 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005341/1.028, allocations: 0.4909 MB / 1.26 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008845/1.029, allocations: 0.7273 MB / 1.261 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/1.034, allocations: 2.809 MB / 1.263 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.034, allocations: 0 / 1.263 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/1.034, allocations: 0 / 1.263 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.034, allocations: 0 / 1.263 GB, free: 10.92 MB / 0.9669 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.003821/1.038, allocations: 1.793 MB / 1.265 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.038, allocations: 8.031 kB / 1.265 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/1.041, allocations: 430 kB / 1.266 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.042, allocations: 0.8902 MB / 1.266 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/1.042, allocations: 74 kB / 1.266 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.042, allocations: 99.98 kB / 1.267 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/1.044, allocations: 1.19 MB / 1.268 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.044, allocations: 15.92 kB / 1.268 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/1.044, allocations: 36 kB / 1.268 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/1.044, allocations: 53.98 kB / 1.268 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.046, allocations: 1.071 MB / 1.269 GB, free: 5.141 MB / 0.9669 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.005273/1.052, allocations: 4.75 MB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.053, allocations: 0.9854 MB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/1.054, allocations: 0.5714 MB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/1.055, allocations: 0.6733 MB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.055, allocations: 47.22 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.465e-06/1.055, allocations: 0 / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003906/1.059, allocations: 2.292 MB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/1.059, allocations: 64.41 kB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/1.059, allocations: 0.6488 MB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/1.059, allocations: 41.7 kB / 1.279 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/1.06, allocations: 452.1 kB / 1.279 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/1.06, allocations: 299.7 kB / 1.279 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/1.06, allocations: 134.6 kB / 1.28 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.06, allocations: 390.7 kB / 1.28 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/1.061, allocations: 325.8 kB / 1.28 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/1.061, allocations: 426.5 kB / 1.281 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.062, allocations: 0.7807 MB / 1.281 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.062, allocations: 0 / 1.281 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001481/1.064, allocations: 0.9503 MB / 1.282 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.064, allocations: 4 kB / 1.282 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.064, allocations: 4.5 kB / 1.282 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/1.064, allocations: 56.77 kB / 1.282 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/1.065, allocations: 163.7 kB / 1.283 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004446/1.065, allocations: 0.611 MB / 1.283 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/1.066, allocations: 27.92 kB / 1.283 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/1.066, allocations: 28 kB / 1.283 GB, free: 5.68 MB / 0.9825 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.0003852/1.067, allocations: 297.6 kB / 1.283 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.067, allocations: 98.81 kB / 1.284 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/1.068, allocations: 0.9363 MB / 1.284 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.068, allocations: 8 kB / 1.284 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.068, allocations: 0 / 1.284 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.07, allocations: 0.931 MB / 1.285 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/1.073, allocations: 2.114 MB / 1.287 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.073, allocations: 4 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/1.074, allocations: 187.8 kB / 1.288 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.074, allocations: 4 kB / 1.288 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/1.074, allocations: 16 kB / 1.288 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.074, allocations: 7.938 kB / 1.288 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.074, allocations: 0 / 1.288 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/1.076, allocations: 1.396 MB / 1.289 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/1.076, allocations: 252 kB / 1.289 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.076, allocations: 19.94 kB / 1.289 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/1.077, allocations: 29.02 kB / 1.289 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.077, allocations: 44.94 kB / 1.289 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/1.077, allocations: 27.98 kB / 1.289 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000502/1.078, allocations: 455 kB / 1.29 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 0 / 1.29 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007924/1.078, allocations: 323.9 kB / 1.29 GB, free: 14.41 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.0003342/1.079, allocations: 210 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.08, allocations: 0.8129 MB / 1.291 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.08, allocations: 4 kB / 1.291 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/1.081, allocations: 441.6 kB / 1.292 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.083, allocations: 0.6028 MB / 1.292 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/1.086, allocations: 2.275 MB / 1.294 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/1.087, allocations: 1.12 MB / 1.295 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007946/1.088, allocations: 255.8 kB / 1.296 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.088, allocations: 79.42 kB / 1.296 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.088, allocations: 0 / 1.296 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of Templates: time 0.03173/1.12, allocations: 20.47 MB / 1.316 GB, free: 4.355 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches