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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_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.00718/0.00718, allocations: 96.41 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.001569/0.001569, allocations: 201.6 kB / 16.68 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.47 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3037, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.056/1.359, allocations: 213.6 MB / 1.296 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.016/1.375, allocations: 10.19 MB / 1.306 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/1.378, allocations: 38.38 kB / 1.306 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/1.381, allocations: 0.8765 MB / 1.307 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009906/1.391, allocations: 2.979 MB / 1.31 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006212/1.397, allocations: 1.428 MB / 1.311 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009321/1.406, allocations: 3.172 MB / 1.314 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/1.408, allocations: 1.033 MB / 1.315 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/1.412, allocations: 1.17 MB / 1.316 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/1.415, allocations: 1.071 MB / 1.318 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/1.415, allocations: 125.6 kB / 1.318 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0077/1.423, allocations: 2.745 MB / 1.32 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009943/1.424, allocations: 0.4927 MB / 1.321 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001727/1.425, allocations: 0.7283 MB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008268/1.434, allocations: 2.817 MB / 1.324 GB, free: 1.988 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.434, allocations: 0 / 1.324 GB, free: 1.988 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.186e-06/1.434, allocations: 1.031 kB / 1.324 GB, free: 1.988 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.113e-05/1.434, allocations: 4.875 kB / 1.324 GB, free: 1.984 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.005184/1.439, allocations: 1.835 MB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.439, allocations: 9.844 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/1.439, allocations: 152.6 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/1.442, allocations: 431.9 kB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.445, allocations: 0.904 MB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/1.445, allocations: 69.53 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.445, allocations: 96.34 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.447, allocations: 1.2 MB / 1.329 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.447, allocations: 5.312 kB / 1.329 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.447, allocations: 37.53 kB / 1.329 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/1.447, allocations: 54.33 kB / 1.329 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/1.449, allocations: 1.072 MB / 1.33 GB, free: 480 kB / 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.006467/1.456, allocations: 4.767 MB / 1.335 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.457, allocations: 0.9897 MB / 1.336 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.458, allocations: 0.5959 MB / 1.336 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/1.459, allocations: 0.6768 MB / 1.337 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.459, allocations: 44.84 kB / 1.337 GB, free: 12.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/1.459, allocations: 0.875 kB / 1.337 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.004442/1.464, allocations: 2.314 MB / 1.339 GB, free: 12.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.464, allocations: 61.97 kB / 1.339 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/1.465, allocations: 0.6328 MB / 1.34 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/1.465, allocations: 42.36 kB / 1.34 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/1.465, allocations: 468.6 kB / 1.34 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/1.465, allocations: 309.5 kB / 1.341 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/1.465, allocations: 136.2 kB / 1.341 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.466, allocations: 401.8 kB / 1.341 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/1.466, allocations: 323.2 kB / 1.341 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/1.467, allocations: 432.1 kB / 1.342 GB, free: 10.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.468, allocations: 0.7824 MB / 1.343 GB, free: 10.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.468, allocations: 0 / 1.343 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001556/1.469, allocations: 0.9567 MB / 1.344 GB, free: 9.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.469, allocations: 6.688 kB / 1.344 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.469, allocations: 6.812 kB / 1.344 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/1.47, allocations: 50.92 kB / 1.344 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.47, allocations: 159.4 kB / 1.344 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004804/1.471, allocations: 0.6075 MB / 1.344 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/1.472, allocations: 22.33 kB / 1.344 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/1.472, allocations: 28.95 kB / 1.344 GB, free: 9.332 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.0005371/1.472, allocations: 301.2 kB / 1.345 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.473, allocations: 100.7 kB / 1.345 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.474, allocations: 0.9321 MB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.474, allocations: 8.688 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.474, allocations: 0.875 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.475, allocations: 0.9286 MB / 1.347 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/1.479, allocations: 2.113 MB / 1.349 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.479, allocations: 1.031 kB / 1.349 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/1.479, allocations: 189.8 kB / 1.349 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.479, allocations: 6.406 kB / 1.349 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/1.48, allocations: 19.84 kB / 1.349 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/1.48, allocations: 3.188 kB / 1.349 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.48, allocations: 0.8438 kB / 1.349 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.481, allocations: 1.394 MB / 1.35 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/1.482, allocations: 256.6 kB / 1.351 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.482, allocations: 15.25 kB / 1.351 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/1.483, allocations: 26.36 kB / 1.351 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.483, allocations: 56.27 kB / 1.351 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/1.483, allocations: 27.56 kB / 1.351 GB, free: 6.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005484/1.484, allocations: 459.5 kB / 1.351 GB, free: 6.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.484, allocations: 0 / 1.351 GB, free: 6.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001034/1.485, allocations: 319.9 kB / 1.351 GB, free: 6.008 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.003146/1.488, allocations: 2.045 MB / 1.353 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.49, allocations: 0.8173 MB / 1.354 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.49, allocations: 2.438 kB / 1.354 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/1.491, allocations: 439.8 kB / 1.355 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/1.495, allocations: 0.5991 MB / 1.355 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.509, allocations: 7.567 MB / 1.363 GB, free: 228 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/1.51, allocations: 1.12 MB / 1.364 GB, free: 15.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001204/1.511, allocations: 253 kB / 1.364 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/1.511, allocations: 388.8 kB / 1.364 GB, free: 15.12 MB / 1.045 GB Notification: Performance of SimCode: time 1.443e-06/1.511, allocations: 0 / 1.364 GB, free: 15.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/1.574, allocations: 28.08 MB / 1.392 GB, free: 15.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.09, allocations: 13.81 kB / 1.392 GB, free: 15 MB / 1.061 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches