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.007118/0.007118, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00162/0.00162, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.115/2.115, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6993, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2243/0.9237, allocations: 213.6 MB / 1.296 GB, free: 7.965 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.9364, allocations: 10.2 MB / 1.306 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.9378, allocations: 39.81 kB / 1.306 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.9399, allocations: 0.8313 MB / 1.307 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/0.9468, allocations: 2.898 MB / 1.31 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.9503, allocations: 1.42 MB / 1.311 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003933/0.9542, allocations: 3.16 MB / 1.314 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.9559, allocations: 1.034 MB / 1.315 GB, free: 4.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.9581, allocations: 1.121 MB / 1.316 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.9603, allocations: 1.089 MB / 1.317 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.9607, allocations: 120 kB / 1.317 GB, free: 1.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.9659, allocations: 2.728 MB / 1.32 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.9666, allocations: 0.4908 MB / 1.321 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.9678, allocations: 0.7234 MB / 1.321 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.9729, allocations: 2.809 MB / 1.324 GB, free: 11.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9729, allocations: 4 kB / 1.324 GB, free: 11.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9729, allocations: 0 / 1.324 GB, free: 11.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.295e-05/0.973, allocations: 0 / 1.324 GB, free: 11.22 MB / 1.061 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.004554/0.9775, allocations: 1.788 MB / 1.326 GB, free: 9.379 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9776, allocations: 8.031 kB / 1.326 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/0.9778, allocations: 152 kB / 1.326 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.9808, allocations: 441.8 kB / 1.326 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.9825, allocations: 0.8902 MB / 1.327 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.9826, allocations: 77.98 kB / 1.327 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.9828, allocations: 99.91 kB / 1.327 GB, free: 7.672 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.9848, allocations: 1.194 MB / 1.329 GB, free: 6.445 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.9848, allocations: 12 kB / 1.329 GB, free: 6.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.9849, allocations: 36 kB / 1.329 GB, free: 6.398 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.985, allocations: 61.86 kB / 1.329 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.9868, allocations: 1.07 MB / 1.33 GB, free: 5.266 MB / 1.061 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.005591/0.9924, allocations: 4.746 MB / 1.334 GB, free: 124 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.9939, allocations: 0.9885 MB / 1.335 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.995, allocations: 0.5987 MB / 1.336 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/0.9957, allocations: 0.6694 MB / 1.337 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.9957, allocations: 47.2 kB / 1.337 GB, free: 13.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.9957, allocations: 0 / 1.337 GB, free: 13.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004373/1, allocations: 2.3 MB / 1.339 GB, free: 11.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1, allocations: 68.39 kB / 1.339 GB, free: 11.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/1.001, allocations: 0.6412 MB / 1.34 GB, free: 10.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/1.001, allocations: 41.7 kB / 1.34 GB, free: 10.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/1.001, allocations: 456 kB / 1.34 GB, free: 10.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/1.002, allocations: 291.6 kB / 1.34 GB, free: 9.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.002, allocations: 130.7 kB / 1.34 GB, free: 9.617 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.002, allocations: 394.7 kB / 1.341 GB, free: 9.223 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/1.003, allocations: 321.8 kB / 1.341 GB, free: 8.906 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/1.003, allocations: 430.5 kB / 1.342 GB, free: 8.457 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.004, allocations: 0.7807 MB / 1.342 GB, free: 7.652 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.004, allocations: 4 kB / 1.342 GB, free: 7.648 MB / 1.076 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00151/1.006, allocations: 0.9426 MB / 1.343 GB, free: 6.695 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.006, allocations: 11.94 kB / 1.343 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.006, allocations: 4 kB / 1.343 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/1.006, allocations: 56.83 kB / 1.343 GB, free: 6.621 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/1.007, allocations: 151.8 kB / 1.343 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004513/1.007, allocations: 0.611 MB / 1.344 GB, free: 5.836 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/1.008, allocations: 23.91 kB / 1.344 GB, free: 5.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/1.008, allocations: 39.86 kB / 1.344 GB, free: 5.773 MB / 1.076 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.0004316/1.009, allocations: 306.6 kB / 1.344 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/1.009, allocations: 86.97 kB / 1.344 GB, free: 5.379 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/1.01, allocations: 0.9247 MB / 1.345 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.01, allocations: 8 kB / 1.345 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.01, allocations: 0 / 1.345 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/1.012, allocations: 0.927 MB / 1.346 GB, free: 3.457 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/1.015, allocations: 2.118 MB / 1.348 GB, free: 1.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.015, allocations: 0 / 1.348 GB, free: 1.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/1.016, allocations: 199.8 kB / 1.349 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.016, allocations: 3.938 kB / 1.349 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/1.016, allocations: 23.98 kB / 1.349 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.016, allocations: 8.062 kB / 1.349 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.016, allocations: 0 / 1.349 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.018, allocations: 1.377 MB / 1.35 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/1.018, allocations: 259.9 kB / 1.35 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.018, allocations: 15.94 kB / 1.35 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/1.019, allocations: 23.98 kB / 1.35 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.019, allocations: 52.92 kB / 1.35 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/1.019, allocations: 31.98 kB / 1.35 GB, free: 15.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005203/1.02, allocations: 455 kB / 1.351 GB, free: 14.83 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.02, allocations: 0 / 1.351 GB, free: 14.83 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008559/1.021, allocations: 323.9 kB / 1.351 GB, free: 14.51 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.002392/1.023, allocations: 2.042 MB / 1.353 GB, free: 12.45 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001329/1.025, allocations: 0.8168 MB / 1.354 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.025, allocations: 4.438 kB / 1.354 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/1.025, allocations: 441.6 kB / 1.354 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.028, allocations: 0.5883 MB / 1.355 GB, free: 10.62 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.038, allocations: 7.514 MB / 1.362 GB, free: 2.926 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/1.039, allocations: 1.124 MB / 1.363 GB, free: 1.77 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008759/1.039, allocations: 263.7 kB / 1.364 GB, free: 1.508 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/1.04, allocations: 391.3 kB / 1.364 GB, free: 1.125 MB / 1.092 GB Notification: Performance of SimCode: time 5.61e-07/1.04, allocations: 0 / 1.364 GB, free: 1.125 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/1.093, allocations: 28.06 MB / 1.391 GB, free: 5.453 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.8, allocations: 11.3 kB / 1.391 GB, free: 5.445 MB / 1.123 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