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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 152 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.0009875/0.0009875, allocations: 195 kB / 16.53 MB, free: 6.664 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4979, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1852/0.6831, allocations: 213.6 MB / 1.226 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.6973, allocations: 10.2 MB / 1.236 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6986, allocations: 35.81 kB / 1.236 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.7008, allocations: 0.8468 MB / 1.237 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.7069, allocations: 2.898 MB / 1.24 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.7099, allocations: 1.401 MB / 1.241 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.7132, allocations: 3.162 MB / 1.244 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.7143, allocations: 1.034 MB / 1.245 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.7155, allocations: 1.129 MB / 1.246 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.717, allocations: 1.065 MB / 1.247 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.7172, allocations: 120 kB / 1.247 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.7215, allocations: 2.743 MB / 1.25 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.7219, allocations: 498.7 kB / 1.251 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.7226, allocations: 0.7312 MB / 1.251 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4628/1.185, allocations: 2.78 MB / 1.254 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.185, allocations: 0 / 1.254 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.185, allocations: 0 / 1.254 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.55e-05/1.185, allocations: 0.8438 kB / 1.254 GB, free: 11.6 MB / 0.9981 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.004239/1.19, allocations: 1.79 MB / 1.256 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.19, allocations: 11.31 kB / 1.256 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/1.19, allocations: 150.6 kB / 1.256 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/1.193, allocations: 429 kB / 1.256 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.194, allocations: 0.8504 MB / 1.257 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/1.195, allocations: 72.88 kB / 1.257 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.195, allocations: 93.12 kB / 1.257 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/1.197, allocations: 1.205 MB / 1.258 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.197, allocations: 1.094 kB / 1.258 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-05/1.197, allocations: 43.03 kB / 1.259 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/1.197, allocations: 52.48 kB / 1.259 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.199, allocations: 1.073 MB / 1.26 GB, free: 10.33 MB / 0.9981 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.005217/1.204, allocations: 4.788 MB / 1.264 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.206, allocations: 0.9832 MB / 1.265 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/1.207, allocations: 0.5642 MB / 1.266 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/1.207, allocations: 0.6758 MB / 1.266 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.207, allocations: 47.31 kB / 1.267 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/1.207, allocations: 0.75 kB / 1.267 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.004548/1.212, allocations: 2.296 MB / 1.269 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/1.212, allocations: 61.25 kB / 1.269 GB, free: 22.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/1.213, allocations: 0.6422 MB / 1.269 GB, free: 21.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/1.213, allocations: 41.55 kB / 1.269 GB, free: 21.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.213, allocations: 456.7 kB / 1.27 GB, free: 21.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.213, allocations: 294.3 kB / 1.27 GB, free: 21.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.214, allocations: 137.9 kB / 1.27 GB, free: 21.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.214, allocations: 398.4 kB / 1.271 GB, free: 21.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/1.214, allocations: 320.9 kB / 1.271 GB, free: 21.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/1.215, allocations: 431.3 kB / 1.271 GB, free: 21.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.216, allocations: 0.7788 MB / 1.272 GB, free: 21.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.216, allocations: 3.094 kB / 1.272 GB, free: 21.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001415/1.217, allocations: 0.9498 MB / 1.273 GB, free: 20.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.217, allocations: 8.766 kB / 1.273 GB, free: 20.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.217, allocations: 3.094 kB / 1.273 GB, free: 20.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/1.217, allocations: 59.14 kB / 1.273 GB, free: 20.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.218, allocations: 158 kB / 1.273 GB, free: 20.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003982/1.218, allocations: 0.613 MB / 1.274 GB, free: 20.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/1.219, allocations: 20.17 kB / 1.274 GB, free: 20.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.219, allocations: 25.5 kB / 1.274 GB, free: 20.44 MB / 1.014 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.0004012/1.22, allocations: 309.8 kB / 1.274 GB, free: 20.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.22, allocations: 95.44 kB / 1.274 GB, free: 20.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/1.221, allocations: 0.9231 MB / 1.275 GB, free: 20.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.221, allocations: 7.688 kB / 1.275 GB, free: 20.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.221, allocations: 1.969 kB / 1.275 GB, free: 20.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/1.223, allocations: 0.9305 MB / 1.276 GB, free: 19.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/1.225, allocations: 2.114 MB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.225, allocations: 1.031 kB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/1.226, allocations: 189.6 kB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.226, allocations: 2.469 kB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/1.226, allocations: 23.81 kB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/1.226, allocations: 3.094 kB / 1.278 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.226, allocations: 10.84 kB / 1.278 GB, free: 19.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/1.228, allocations: 1.387 MB / 1.28 GB, free: 19.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/1.228, allocations: 250 kB / 1.28 GB, free: 19.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.229, allocations: 15.92 kB / 1.28 GB, free: 19.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.229, allocations: 29.8 kB / 1.28 GB, free: 19.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.229, allocations: 55.64 kB / 1.28 GB, free: 19.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.229, allocations: 28.3 kB / 1.28 GB, free: 19.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004746/1.23, allocations: 456.8 kB / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.23, allocations: 3.688 kB / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008122/1.231, allocations: 315.8 kB / 1.281 GB, free: 19.16 MB / 1.014 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.002108/1.233, allocations: 2.041 MB / 1.283 GB, free: 18.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001742/1.235, allocations: 1.006 MB / 1.284 GB, free: 18.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.235, allocations: 0 / 1.284 GB, free: 18.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/1.235, allocations: 440.3 kB / 1.284 GB, free: 18.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.237, allocations: 0.6037 MB / 1.285 GB, free: 18.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008137/1.246, allocations: 7.778 MB / 1.292 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/1.246, allocations: 1.127 MB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000898/1.247, allocations: 245.5 kB / 1.294 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/1.247, allocations: 387.4 kB / 1.294 GB, free: 14.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.247, allocations: 0 / 1.294 GB, free: 14.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.291, allocations: 27.85 MB / 1.321 GB, free: 12.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.04, allocations: 8.562 kB / 1.321 GB, free: 12.88 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/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