Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_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.007414/0.007414, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001663/0.001664, allocations: 193.5 kB / 16.67 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.377/2.377, allocations: 469.4 MB / 0.7421 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 68.08 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7173, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2116/0.9289, allocations: 213.6 MB / 1.428 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.9428, allocations: 10.2 MB / 1.438 GB, free: 1.582 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.9444, allocations: 39.75 kB / 1.438 GB, free: 1.543 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.9466, allocations: 0.8703 MB / 1.439 GB, free: 0.668 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007173/0.9539, allocations: 2.991 MB / 1.442 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.9574, allocations: 1.425 MB / 1.444 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004114/0.9616, allocations: 3.167 MB / 1.447 GB, free: 9.062 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.9632, allocations: 1.03 MB / 1.448 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.9653, allocations: 1.176 MB / 1.449 GB, free: 6.832 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.9677, allocations: 1.072 MB / 1.45 GB, free: 5.762 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.9681, allocations: 120 kB / 1.45 GB, free: 5.645 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.9734, allocations: 2.743 MB / 1.453 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.9741, allocations: 0.4909 MB / 1.453 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.9755, allocations: 0.7234 MB / 1.454 GB, free: 1.676 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.9807, allocations: 2.828 MB / 1.457 GB, free: 14.84 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9807, allocations: 4 kB / 1.457 GB, free: 14.84 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9807, allocations: 3.938 kB / 1.457 GB, free: 14.83 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.068e-05/0.9808, allocations: 0 / 1.457 GB, free: 14.83 MB / 1.186 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.004714/0.9855, allocations: 1.832 MB / 1.458 GB, free: 12.94 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9856, allocations: 12.56 kB / 1.458 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.9858, allocations: 152 kB / 1.459 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.9889, allocations: 442.7 kB / 1.459 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.9906, allocations: 0.8948 MB / 1.46 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.9907, allocations: 70 kB / 1.46 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.9909, allocations: 92 kB / 1.46 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.9929, allocations: 1.198 MB / 1.461 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.993, allocations: 15.88 kB / 1.461 GB, free: 9.996 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9931, allocations: 43.98 kB / 1.461 GB, free: 9.953 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/0.9932, allocations: 53.92 kB / 1.461 GB, free: 9.902 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.9951, allocations: 1.07 MB / 1.462 GB, free: 8.828 MB / 1.186 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.005819/1.001, allocations: 4.763 MB / 1.467 GB, free: 3.672 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.002, allocations: 0.9885 MB / 1.468 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.003, allocations: 0.5948 MB / 1.468 GB, free: 2.051 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/1.004, allocations: 0.6694 MB / 1.469 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.004, allocations: 51.16 kB / 1.469 GB, free: 1.172 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.574e-06/1.004, allocations: 0 / 1.469 GB, free: 1.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.004228/1.008, allocations: 2.314 MB / 1.471 GB, free: 14.81 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.008, allocations: 60.41 kB / 1.471 GB, free: 14.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/1.009, allocations: 0.6412 MB / 1.472 GB, free: 14.08 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/1.009, allocations: 41.7 kB / 1.472 GB, free: 14.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/1.01, allocations: 464.9 kB / 1.473 GB, free: 13.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/1.01, allocations: 321.1 kB / 1.473 GB, free: 13.26 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.01, allocations: 130.7 kB / 1.473 GB, free: 13.13 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.01, allocations: 386.8 kB / 1.473 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/1.011, allocations: 325.8 kB / 1.474 GB, free: 12.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/1.011, allocations: 422.5 kB / 1.474 GB, free: 11.98 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.013, allocations: 0.7846 MB / 1.475 GB, free: 11.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.013, allocations: 0 / 1.475 GB, free: 11.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001526/1.014, allocations: 0.9585 MB / 1.476 GB, free: 10.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.014, allocations: 11.94 kB / 1.476 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.014, allocations: 0 / 1.476 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/1.014, allocations: 60.83 kB / 1.476 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/1.015, allocations: 151.8 kB / 1.476 GB, free: 9.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004818/1.016, allocations: 0.6111 MB / 1.477 GB, free: 9.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/1.016, allocations: 27.95 kB / 1.477 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/1.016, allocations: 24 kB / 1.477 GB, free: 9.293 MB / 1.201 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.0004186/1.017, allocations: 305.5 kB / 1.477 GB, free: 8.984 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/1.017, allocations: 91.44 kB / 1.477 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.019, allocations: 0.9286 MB / 1.478 GB, free: 7.957 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.019, allocations: 12 kB / 1.478 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.019, allocations: 0 / 1.478 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.02, allocations: 0.9309 MB / 1.479 GB, free: 6.969 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/1.023, allocations: 2.121 MB / 1.481 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.023, allocations: 0 / 1.481 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009074/1.024, allocations: 195.8 kB / 1.481 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.024, allocations: 3.938 kB / 1.481 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/1.024, allocations: 20 kB / 1.481 GB, free: 4.574 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/1.024, allocations: 4 kB / 1.481 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.024, allocations: 0 / 1.481 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.026, allocations: 1.393 MB / 1.483 GB, free: 3.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/1.026, allocations: 256.4 kB / 1.483 GB, free: 2.891 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.026, allocations: 16 kB / 1.483 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/1.027, allocations: 27.92 kB / 1.483 GB, free: 2.848 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.027, allocations: 52.92 kB / 1.483 GB, free: 2.797 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/1.027, allocations: 24 kB / 1.483 GB, free: 2.773 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005281/1.028, allocations: 459 kB / 1.483 GB, free: 2.328 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.1e-07/1.028, allocations: 0 / 1.483 GB, free: 2.328 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008422/1.029, allocations: 315.9 kB / 1.484 GB, free: 2.02 MB / 1.201 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.00246/1.031, allocations: 2.052 MB / 1.486 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.033, allocations: 0.8168 MB / 1.486 GB, free: 15.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.033, allocations: 4.438 kB / 1.486 GB, free: 15.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006076/1.033, allocations: 445.6 kB / 1.487 GB, free: 14.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.036, allocations: 0.5876 MB / 1.487 GB, free: 14.12 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.046, allocations: 7.562 MB / 1.495 GB, free: 6.375 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/1.047, allocations: 1.12 MB / 1.496 GB, free: 5.223 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008922/1.048, allocations: 251.8 kB / 1.496 GB, free: 4.973 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/1.048, allocations: 391.3 kB / 1.497 GB, free: 4.59 MB / 1.217 GB Notification: Performance of SimCode: time 8.21e-07/1.048, allocations: 0 / 1.497 GB, free: 4.59 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/1.1, allocations: 28.09 MB / 1.524 GB, free: 8.871 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.97, allocations: 4.578 kB / 1.524 GB, free: 8.867 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches