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.01016/0.01016, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002509/0.002509, allocations: 201.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.778/2.778, allocations: 222.9 MB / 240.4 MB, free: 4.344 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 4.97/4.97, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4234, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.349/1.772, allocations: 213.6 MB / 1.375 GB, free: 2.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02296/1.795, allocations: 10.19 MB / 1.385 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/1.798, allocations: 41.69 kB / 1.385 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/1.802, allocations: 0.8327 MB / 1.386 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/1.814, allocations: 2.885 MB / 1.388 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005392/1.819, allocations: 1.419 MB / 1.39 GB, free: 6.168 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006689/1.826, allocations: 3.166 MB / 1.393 GB, free: 4.371 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/1.828, allocations: 1.033 MB / 1.394 GB, free: 3.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/1.832, allocations: 1.122 MB / 1.395 GB, free: 3.109 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.835, allocations: 1.085 MB / 1.396 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003105/1.835, allocations: 121.4 kB / 1.396 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007071/1.842, allocations: 2.733 MB / 1.399 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009939/1.843, allocations: 498.7 kB / 1.399 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/1.845, allocations: 0.7221 MB / 1.4 GB, free: 160 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007361/1.852, allocations: 2.822 MB / 1.403 GB, free: 14.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.852, allocations: 2.125 kB / 1.403 GB, free: 14.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.852, allocations: 0 / 1.403 GB, free: 14.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.902e-05/1.852, allocations: 4 kB / 1.403 GB, free: 14.39 MB / 1.076 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.005022/1.857, allocations: 1.831 MB / 1.405 GB, free: 13.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.857, allocations: 9.344 kB / 1.405 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/1.858, allocations: 151.3 kB / 1.405 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/1.861, allocations: 438.6 kB / 1.405 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.863, allocations: 0.9002 MB / 1.406 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/1.863, allocations: 75.39 kB / 1.406 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.863, allocations: 98.44 kB / 1.406 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/1.865, allocations: 1.198 MB / 1.407 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/1.865, allocations: 6.078 kB / 1.407 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.865, allocations: 35.78 kB / 1.407 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/1.865, allocations: 57.23 kB / 1.407 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/1.867, allocations: 1.075 MB / 1.409 GB, free: 10.62 MB / 1.076 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.006508/1.874, allocations: 4.752 MB / 1.413 GB, free: 6.418 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/1.875, allocations: 0.9892 MB / 1.414 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/1.877, allocations: 0.602 MB / 1.415 GB, free: 5.477 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/1.877, allocations: 0.6734 MB / 1.415 GB, free: 4.703 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.877, allocations: 43.94 kB / 1.415 GB, free: 4.656 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/1.877, allocations: 4 kB / 1.415 GB, free: 4.652 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004966/1.882, allocations: 2.316 MB / 1.418 GB, free: 2.594 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.882, allocations: 68.34 kB / 1.418 GB, free: 2.516 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/1.883, allocations: 0.6411 MB / 1.418 GB, free: 1.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/1.884, allocations: 41.7 kB / 1.418 GB, free: 1.816 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/1.884, allocations: 464.9 kB / 1.419 GB, free: 1.355 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/1.884, allocations: 305.3 kB / 1.419 GB, free: 1.055 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.884, allocations: 138.6 kB / 1.419 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000213/1.885, allocations: 394.7 kB / 1.42 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/1.885, allocations: 321.8 kB / 1.42 GB, free: 208 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/1.886, allocations: 430.5 kB / 1.42 GB, free: 15.76 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.887, allocations: 0.7768 MB / 1.421 GB, free: 14.95 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.887, allocations: 4 kB / 1.421 GB, free: 14.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001832/1.889, allocations: 0.9467 MB / 1.422 GB, free: 13.99 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.889, allocations: 8.25 kB / 1.422 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.889, allocations: 8 kB / 1.422 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/1.889, allocations: 60.77 kB / 1.422 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/1.89, allocations: 151.8 kB / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005736/1.891, allocations: 0.607 MB / 1.423 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/1.892, allocations: 32 kB / 1.423 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/1.892, allocations: 28 kB / 1.423 GB, free: 13.07 MB / 1.092 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.0005346/1.892, allocations: 301.6 kB / 1.423 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.893, allocations: 91.44 kB / 1.423 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.894, allocations: 0.9345 MB / 1.424 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.894, allocations: 8 kB / 1.424 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.894, allocations: 0 / 1.424 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/1.896, allocations: 0.9232 MB / 1.425 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/1.899, allocations: 2.125 MB / 1.427 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.899, allocations: 0 / 1.427 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.9, allocations: 195.8 kB / 1.427 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.9, allocations: 0 / 1.427 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/1.901, allocations: 27.92 kB / 1.427 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.901, allocations: 4 kB / 1.427 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.901, allocations: 0 / 1.427 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/1.903, allocations: 1.385 MB / 1.429 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/1.904, allocations: 260.3 kB / 1.429 GB, free: 6.684 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/1.904, allocations: 24.05 kB / 1.429 GB, free: 6.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/1.904, allocations: 26.23 kB / 1.429 GB, free: 6.637 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.905, allocations: 52.92 kB / 1.429 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/1.905, allocations: 31.98 kB / 1.429 GB, free: 6.551 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006505/1.905, allocations: 451 kB / 1.43 GB, free: 6.113 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.01e-07/1.905, allocations: 0 / 1.43 GB, free: 6.113 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009594/1.906, allocations: 323.9 kB / 1.43 GB, free: 5.797 MB / 1.092 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.002926/1.909, allocations: 2.051 MB / 1.432 GB, free: 3.719 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.911, allocations: 0.8129 MB / 1.433 GB, free: 2.906 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.911, allocations: 0 / 1.433 GB, free: 2.906 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006881/1.911, allocations: 437.6 kB / 1.433 GB, free: 2.484 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/1.914, allocations: 0.588 MB / 1.434 GB, free: 1.91 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.927, allocations: 7.564 MB / 1.441 GB, free: 10.17 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/1.928, allocations: 1.124 MB / 1.442 GB, free: 9.016 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001106/1.929, allocations: 247.8 kB / 1.442 GB, free: 8.77 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/1.93, allocations: 387.3 kB / 1.443 GB, free: 8.391 MB / 1.107 GB Notification: Performance of SimCode: time 1.312e-06/1.93, allocations: 7.938 kB / 1.443 GB, free: 8.383 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/2.045, allocations: 28.08 MB / 1.47 GB, free: 12.7 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/25.69, allocations: 7.375 kB / 1.47 GB, free: 12.7 MB / 1.139 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