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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00667/0.00667, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001533/0.001533, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 67.05 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8507/1.134, allocations: 213.6 MB / 1.297 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.148, allocations: 10.19 MB / 1.306 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/1.15, allocations: 39.97 kB / 1.307 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/1.152, allocations: 0.8442 MB / 1.307 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00876/1.161, allocations: 2.886 MB / 1.31 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/1.165, allocations: 1.421 MB / 1.312 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004592/1.169, allocations: 3.161 MB / 1.315 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/1.171, allocations: 1.034 MB / 1.316 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/1.174, allocations: 1.123 MB / 1.317 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/1.176, allocations: 1.081 MB / 1.318 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/1.176, allocations: 121.3 kB / 1.318 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006477/1.183, allocations: 2.729 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007522/1.183, allocations: 0.4954 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/1.185, allocations: 0.7258 MB / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006697/1.191, allocations: 2.809 MB / 1.325 GB, free: 2.297 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.191, allocations: 0.9688 kB / 1.325 GB, free: 2.297 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.226e-06/1.191, allocations: 1.375 kB / 1.325 GB, free: 2.297 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.904e-05/1.191, allocations: 0 / 1.325 GB, free: 2.297 MB / 1.014 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.004926/1.196, allocations: 1.791 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.196, allocations: 10.56 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/1.199, allocations: 428.2 kB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/1.201, allocations: 0.889 MB / 1.328 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/1.201, allocations: 74.38 kB / 1.328 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/1.202, allocations: 95.41 kB / 1.328 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.204, allocations: 1.199 MB / 1.329 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/1.204, allocations: 5.094 kB / 1.329 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.204, allocations: 43.59 kB / 1.329 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.67e-05/1.204, allocations: 54.08 kB / 1.329 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/1.206, allocations: 1.069 MB / 1.33 GB, free: 0.875 MB / 1.014 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.005757/1.212, allocations: 4.743 MB / 1.335 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/1.213, allocations: 0.9936 MB / 1.336 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/1.214, allocations: 0.6013 MB / 1.336 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/1.215, allocations: 0.6754 MB / 1.337 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.215, allocations: 47.47 kB / 1.337 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 5.651e-06/1.215, allocations: 3.984 kB / 1.337 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.004259/1.219, allocations: 2.301 MB / 1.339 GB, free: 12.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.22, allocations: 60.66 kB / 1.339 GB, free: 12.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/1.22, allocations: 0.6407 MB / 1.34 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/1.22, allocations: 40.3 kB / 1.34 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/1.221, allocations: 461.7 kB / 1.34 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.221, allocations: 286.1 kB / 1.341 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.221, allocations: 136.7 kB / 1.341 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.221, allocations: 400.3 kB / 1.341 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/1.222, allocations: 324.8 kB / 1.341 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/1.222, allocations: 428.2 kB / 1.342 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.223, allocations: 0.781 MB / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.224, allocations: 0.5938 kB / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001441/1.225, allocations: 0.9494 MB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.225, allocations: 8.25 kB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.225, allocations: 3.406 kB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/1.225, allocations: 59.41 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.226, allocations: 155.1 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/1.226, allocations: 0.6074 MB / 1.344 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/1.227, allocations: 32.86 kB / 1.344 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/1.227, allocations: 28.44 kB / 1.344 GB, free: 9.852 MB / 1.029 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.0005446/1.228, allocations: 301.8 kB / 1.345 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.228, allocations: 89.09 kB / 1.345 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/1.23, allocations: 0.9295 MB / 1.346 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.23, allocations: 10.72 kB / 1.346 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.23, allocations: 3.188 kB / 1.346 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/1.231, allocations: 0.9263 MB / 1.347 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/1.234, allocations: 2.113 MB / 1.349 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.234, allocations: 0.75 kB / 1.349 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/1.235, allocations: 192.5 kB / 1.349 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.235, allocations: 3.031 kB / 1.349 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/1.235, allocations: 21.34 kB / 1.349 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.235, allocations: 0 / 1.349 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.235, allocations: 5.688 kB / 1.349 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/1.237, allocations: 1.387 MB / 1.35 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.237, allocations: 258.1 kB / 1.35 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.238, allocations: 18.38 kB / 1.35 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/1.238, allocations: 26.12 kB / 1.351 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.238, allocations: 57.2 kB / 1.351 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.238, allocations: 24.72 kB / 1.351 GB, free: 6.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005259/1.239, allocations: 459.9 kB / 1.351 GB, free: 6.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.239, allocations: 0 / 1.351 GB, free: 6.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009375/1.24, allocations: 319.9 kB / 1.351 GB, free: 6.535 MB / 1.029 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.0003517/1.24, allocations: 216.9 kB / 1.352 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.242, allocations: 0.8166 MB / 1.352 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.242, allocations: 0 / 1.352 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/1.242, allocations: 441.2 kB / 1.353 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.245, allocations: 0.5905 MB / 1.353 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/1.248, allocations: 2.279 MB / 1.356 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/1.249, allocations: 1.121 MB / 1.357 GB, free: 3.816 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001073/1.25, allocations: 253.5 kB / 1.357 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/1.25, allocations: 81.03 kB / 1.357 GB, free: 3.738 MB / 1.029 GB Notification: Performance of SimCode: time 1.263e-06/1.25, allocations: 2.344 kB / 1.357 GB, free: 3.738 MB / 1.029 GB Notification: Performance of Templates: time 0.03241/1.283, allocations: 20.66 MB / 1.377 GB, free: 12.31 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches