Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.006987/0.006987, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001618/0.001618, allocations: 195.1 kB / 16.67 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 1.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.267/2.267, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 67.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6911, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.2616/0.9527, allocations: 284.3 MB / 1.444 GB, free: 6.449 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.975, allocations: 17.3 MB / 1.461 GB, free: 5.105 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.9772, allocations: 71.69 kB / 1.461 GB, free: 5.035 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.9808, allocations: 1.783 MB / 1.462 GB, free: 3.242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.9933, allocations: 6.073 MB / 1.468 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006386/0.9997, allocations: 2.839 MB / 1.471 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007851/1.008, allocations: 6.583 MB / 1.478 GB, free: 3.703 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/1.011, allocations: 2.567 MB / 1.48 GB, free: 1.082 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/1.015, allocations: 2.523 MB / 1.483 GB, free: 14.55 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/1.019, allocations: 2.389 MB / 1.485 GB, free: 12.16 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/1.019, allocations: 300 kB / 1.485 GB, free: 11.87 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/1.03, allocations: 5.974 MB / 1.491 GB, free: 5.879 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.031, allocations: 1.301 MB / 1.492 GB, free: 4.574 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/1.033, allocations: 1.711 MB / 1.494 GB, free: 2.855 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.009079/1.042, allocations: 6.452 MB / 1.5 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.042, allocations: 0 / 1.5 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.473e-06/1.042, allocations: 0 / 1.5 GB, free: 12.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.256e-05/1.042, allocations: 0 / 1.5 GB, free: 12.38 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.008291/1.05, allocations: 3.859 MB / 1.504 GB, free: 8.453 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.05, allocations: 8.922 kB / 1.504 GB, free: 8.445 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000382/1.051, allocations: 353.9 kB / 1.504 GB, free: 8.09 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/1.056, allocations: 0.8216 MB / 1.505 GB, free: 7.266 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/1.059, allocations: 1.72 MB / 1.507 GB, free: 5.488 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/1.059, allocations: 184.7 kB / 1.507 GB, free: 5.305 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/1.059, allocations: 240 kB / 1.507 GB, free: 5.07 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004641/1.064, allocations: 3.091 MB / 1.51 GB, free: 1.871 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/1.064, allocations: 11.94 kB / 1.51 GB, free: 1.859 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/1.064, allocations: 99.98 kB / 1.51 GB, free: 1.762 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.065, allocations: 132.7 kB / 1.511 GB, free: 1.629 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/1.069, allocations: 2.845 MB / 1.513 GB, free: 14.77 MB / 1.248 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.01333/1.082, allocations: 12.12 MB / 1.525 GB, free: 1.59 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/1.085, allocations: 2.279 MB / 1.527 GB, free: 15.24 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/1.087, allocations: 1.257 MB / 1.529 GB, free: 13.99 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.088, allocations: 1.367 MB / 1.53 GB, free: 12.33 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/1.088, allocations: 52.56 kB / 1.53 GB, free: 12.27 MB / 1.264 GB Notification: Performance of pre-optimization done (n=197): time 5.34e-06/1.088, allocations: 0 / 1.53 GB, free: 12.27 MB / 1.264 GB Notification: Performance of matching and sorting (n=197): time 0.004605/1.093, allocations: 2.841 MB / 1.533 GB, free: 9.426 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/1.093, allocations: 73.41 kB / 1.533 GB, free: 9.34 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.095, allocations: 1.316 MB / 1.534 GB, free: 8.016 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.095, allocations: 61.7 kB / 1.534 GB, free: 7.949 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/1.095, allocations: 0.9731 MB / 1.535 GB, free: 6.965 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.096, allocations: 0.7086 MB / 1.536 GB, free: 6.25 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/1.096, allocations: 303.6 kB / 1.536 GB, free: 5.949 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/1.096, allocations: 301.1 kB / 1.536 GB, free: 5.652 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/1.098, allocations: 0.7847 MB / 1.537 GB, free: 4.867 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.099, allocations: 0.9763 MB / 1.538 GB, free: 3.855 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/1.101, allocations: 1.876 MB / 1.54 GB, free: 1.945 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.101, allocations: 0 / 1.54 GB, free: 1.945 MB / 1.264 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003238/1.105, allocations: 2.168 MB / 1.542 GB, free: 15.77 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.105, allocations: 13.81 kB / 1.542 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.105, allocations: 4 kB / 1.542 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.105, allocations: 8 kB / 1.542 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.106, allocations: 367.5 kB / 1.542 GB, free: 15.39 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.106, allocations: 12 kB / 1.542 GB, free: 15.38 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.108, allocations: 150.8 kB / 1.543 GB, free: 15.23 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.108, allocations: 76.02 kB / 1.543 GB, free: 15.15 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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 prepare postOptimizeDAE: time 0.0009128/1.109, allocations: 0.591 MB / 1.543 GB, free: 14.55 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/1.109, allocations: 210.7 kB / 1.543 GB, free: 14.34 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/1.113, allocations: 2.252 MB / 1.546 GB, free: 12.07 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.113, allocations: 20 kB / 1.546 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.113, allocations: 4 kB / 1.546 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002664/1.115, allocations: 1.881 MB / 1.547 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/1.123, allocations: 5.107 MB / 1.552 GB, free: 4.93 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.123, allocations: 0 / 1.552 GB, free: 4.93 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.125, allocations: 427.8 kB / 1.553 GB, free: 4.512 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.125, allocations: 8 kB / 1.553 GB, free: 4.504 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.125, allocations: 51.98 kB / 1.553 GB, free: 4.453 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/1.125, allocations: 15.92 kB / 1.553 GB, free: 4.438 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.125, allocations: 4 kB / 1.553 GB, free: 4.434 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/1.13, allocations: 3.407 MB / 1.556 GB, free: 0.9805 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/1.131, allocations: 0.5149 MB / 1.557 GB, free: 456 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.131, allocations: 40 kB / 1.557 GB, free: 416 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.132, allocations: 53.03 kB / 1.557 GB, free: 364 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.133, allocations: 137.7 kB / 1.557 GB, free: 224 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.133, allocations: 63.97 kB / 1.557 GB, free: 160 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.4895/1.622, allocations: 0.8997 MB / 1.558 GB, free: 384.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.81e-07/1.622, allocations: 3.281 kB / 1.558 GB, free: 384.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002671/1.625, allocations: 0.8472 MB / 1.559 GB, free: 384.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * 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.005473/1.63, allocations: 4.236 MB / 1.563 GB, free: 382.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002679/1.633, allocations: 1.975 MB / 1.565 GB, free: 382.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.633, allocations: 3.938 kB / 1.565 GB, free: 382.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.634, allocations: 1.081 MB / 1.566 GB, free: 381.8 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.639, allocations: 1.247 MB / 1.567 GB, free: 381.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.658, allocations: 16.54 MB / 1.583 GB, free: 371.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/1.659, allocations: 1.835 MB / 1.585 GB, free: 370 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001944/1.661, allocations: 0.6205 MB / 1.586 GB, free: 369.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.662, allocations: 0.9695 MB / 1.587 GB, free: 368.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.11e-07/1.662, allocations: 11.94 kB / 1.587 GB, free: 368.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/1.733, allocations: 61.13 MB / 1.646 GB, free: 308.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/12.43, allocations: 10.28 kB / 1.646 GB, free: 308.2 MB / 1.279 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches