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.005602/0.005602, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001411/0.001411, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.436/2.436, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2739, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8329/1.107, allocations: 213.7 MB / 1.375 GB, free: 2.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01485/1.122, allocations: 10.2 MB / 1.385 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/1.124, allocations: 37.59 kB / 1.385 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/1.126, allocations: 0.8693 MB / 1.386 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008543/1.135, allocations: 2.982 MB / 1.389 GB, free: 7.105 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00434/1.139, allocations: 1.431 MB / 1.39 GB, free: 6.012 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004664/1.144, allocations: 3.16 MB / 1.393 GB, free: 4.223 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/1.146, allocations: 1.036 MB / 1.394 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/1.148, allocations: 1.167 MB / 1.395 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/1.15, allocations: 1.072 MB / 1.396 GB, free: 2.297 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003896/1.151, allocations: 121 kB / 1.396 GB, free: 2.297 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005768/1.157, allocations: 2.751 MB / 1.399 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/1.157, allocations: 0.4928 MB / 1.4 GB, free: 420 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.159, allocations: 0.7288 MB / 1.4 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005777/1.165, allocations: 2.818 MB / 1.403 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.165, allocations: 2.781 kB / 1.403 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/1.165, allocations: 0 / 1.403 GB, free: 14.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.906e-05/1.165, allocations: 0 / 1.403 GB, free: 14.2 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.004775/1.169, allocations: 1.829 MB / 1.405 GB, free: 12.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.169, allocations: 14.02 kB / 1.405 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/1.17, allocations: 147.3 kB / 1.405 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/1.173, allocations: 437 kB / 1.405 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/1.175, allocations: 0.9015 MB / 1.406 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.175, allocations: 71 kB / 1.406 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.175, allocations: 99.55 kB / 1.406 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/1.177, allocations: 1.197 MB / 1.408 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/1.177, allocations: 10.42 kB / 1.408 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.177, allocations: 42.19 kB / 1.408 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/1.177, allocations: 45.98 kB / 1.408 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/1.179, allocations: 1.076 MB / 1.409 GB, free: 10.43 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.005935/1.185, allocations: 4.76 MB / 1.413 GB, free: 6.219 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/1.187, allocations: 0.9854 MB / 1.414 GB, free: 5.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/1.188, allocations: 0.5979 MB / 1.415 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/1.188, allocations: 0.6732 MB / 1.416 GB, free: 4.512 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.188, allocations: 43.94 kB / 1.416 GB, free: 4.465 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.178e-06/1.188, allocations: 0 / 1.416 GB, free: 4.465 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004374/1.193, allocations: 2.32 MB / 1.418 GB, free: 2.352 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.193, allocations: 64.34 kB / 1.418 GB, free: 2.277 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/1.194, allocations: 0.6411 MB / 1.419 GB, free: 1.625 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/1.194, allocations: 41.7 kB / 1.419 GB, free: 1.578 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/1.194, allocations: 460.9 kB / 1.419 GB, free: 1.121 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/1.194, allocations: 313.3 kB / 1.419 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.195, allocations: 138.6 kB / 1.419 GB, free: 0.668 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.195, allocations: 390.7 kB / 1.42 GB, free: 284 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/1.195, allocations: 325.8 kB / 1.42 GB, free: 15.96 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.196, allocations: 422.5 kB / 1.421 GB, free: 15.52 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.197, allocations: 0.7807 MB / 1.421 GB, free: 14.71 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.197, allocations: 3.938 kB / 1.421 GB, free: 14.71 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001553/1.199, allocations: 0.9584 MB / 1.422 GB, free: 13.74 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.199, allocations: 5.875 kB / 1.422 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.199, allocations: 4 kB / 1.422 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/1.199, allocations: 57.45 kB / 1.422 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/1.2, allocations: 160 kB / 1.422 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005156/1.2, allocations: 0.607 MB / 1.423 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/1.201, allocations: 27.94 kB / 1.423 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/1.201, allocations: 28 kB / 1.423 GB, free: 12.83 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.0004135/1.201, allocations: 301.6 kB / 1.423 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.202, allocations: 95.44 kB / 1.423 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.203, allocations: 0.9301 MB / 1.424 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.203, allocations: 8 kB / 1.424 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.203, allocations: 0 / 1.424 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.204, allocations: 0.9348 MB / 1.425 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.207, allocations: 2.125 MB / 1.427 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.208, allocations: 0 / 1.427 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/1.208, allocations: 183.8 kB / 1.428 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.208, allocations: 4 kB / 1.428 GB, free: 8.141 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/1.209, allocations: 23.92 kB / 1.428 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.209, allocations: 4 kB / 1.428 GB, free: 8.113 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.209, allocations: 0 / 1.428 GB, free: 8.113 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/1.21, allocations: 1.393 MB / 1.429 GB, free: 6.707 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/1.211, allocations: 260.3 kB / 1.429 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/1.211, allocations: 19.98 kB / 1.429 GB, free: 6.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.212, allocations: 20 kB / 1.429 GB, free: 6.395 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.212, allocations: 52.92 kB / 1.429 GB, free: 6.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/1.212, allocations: 23.98 kB / 1.429 GB, free: 6.316 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005194/1.212, allocations: 455 kB / 1.43 GB, free: 5.875 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.212, allocations: 4 kB / 1.43 GB, free: 5.871 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008544/1.213, allocations: 319.9 kB / 1.43 GB, free: 5.559 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.002376/1.216, allocations: 2.057 MB / 1.432 GB, free: 3.477 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.217, allocations: 0.8171 MB / 1.433 GB, free: 2.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.217, allocations: 4 kB / 1.433 GB, free: 2.656 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/1.218, allocations: 433.6 kB / 1.433 GB, free: 2.238 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.22, allocations: 0.6019 MB / 1.434 GB, free: 1.656 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.231, allocations: 7.546 MB / 1.441 GB, free: 9.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/1.232, allocations: 1.128 MB / 1.442 GB, free: 8.773 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009482/1.233, allocations: 247.8 kB / 1.443 GB, free: 8.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/1.233, allocations: 383.3 kB / 1.443 GB, free: 8.152 MB / 1.107 GB Notification: Performance of SimCode: time 8.52e-07/1.233, allocations: 4 kB / 1.443 GB, free: 8.148 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/1.285, allocations: 28.09 MB / 1.47 GB, free: 12.46 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.68, allocations: 14.89 kB / 1.47 GB, free: 12.45 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