Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.008062/0.008062, allocations: 102 kB / 15.73 MB, free: 5.551 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.002063/0.002063, allocations: 196.2 kB / 16.67 MB, free: 5.477 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.411/1.411, 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-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6644, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1987/0.8631, allocations: 181.9 MB / 1.398 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008572/0.8717, allocations: 5.351 MB / 1.403 GB, free: 6.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.8725, allocations: 35.81 kB / 1.403 GB, free: 6.082 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.8736, allocations: 433.4 kB / 1.403 GB, free: 5.656 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.8774, allocations: 1.676 MB / 1.405 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.8792, allocations: 0.8118 MB / 1.406 GB, free: 3.168 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002702/0.8819, allocations: 2.192 MB / 1.408 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/0.8829, allocations: 0.6851 MB / 1.409 GB, free: 276 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.8841, allocations: 0.7433 MB / 1.409 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.8857, allocations: 0.6878 MB / 1.41 GB, free: 14.85 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.8858, allocations: 76 kB / 1.41 GB, free: 14.77 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.8883, allocations: 1.399 MB / 1.412 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.8887, allocations: 323.1 kB / 1.412 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.8892, allocations: 469.9 kB / 1.412 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.8914, allocations: 1.666 MB / 1.414 GB, free: 10.92 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.8914, allocations: 0 / 1.414 GB, free: 10.92 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8914, allocations: 4 kB / 1.414 GB, free: 10.92 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.8915, allocations: 0 / 1.414 GB, free: 10.92 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001901/0.8934, allocations: 1.206 MB / 1.415 GB, free: 9.656 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.8934, allocations: 8.031 kB / 1.415 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.8935, allocations: 98.52 kB / 1.415 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.8954, allocations: 283.1 kB / 1.415 GB, free: 9.266 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8966, allocations: 0.7144 MB / 1.416 GB, free: 8.508 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.8966, allocations: 53.25 kB / 1.416 GB, free: 8.457 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8968, allocations: 56 kB / 1.416 GB, free: 8.402 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.8979, allocations: 0.5843 MB / 1.417 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.8979, allocations: 0 / 1.417 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.898, allocations: 27.98 kB / 1.417 GB, free: 7.785 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.898, allocations: 21.31 kB / 1.417 GB, free: 7.766 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.899, allocations: 0.5009 MB / 1.417 GB, free: 7.262 MB / 1.139 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.003422/0.9024, allocations: 2.389 MB / 1.42 GB, free: 4.684 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.9033, allocations: 434.8 kB / 1.42 GB, free: 4.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.9037, allocations: 228.6 kB / 1.42 GB, free: 4.023 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.9039, allocations: 97.09 kB / 1.42 GB, free: 3.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.904, allocations: 38.56 kB / 1.42 GB, free: 3.863 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.744e-06/0.904, allocations: 4 kB / 1.42 GB, free: 3.859 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.003031/0.907, allocations: 1.444 MB / 1.422 GB, free: 2.363 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9071, allocations: 59.84 kB / 1.422 GB, free: 2.293 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.9078, allocations: 0.5382 MB / 1.422 GB, free: 1.742 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.9078, allocations: 41.64 kB / 1.423 GB, free: 1.695 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.9081, allocations: 329.2 kB / 1.423 GB, free: 1.371 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.9083, allocations: 170.5 kB / 1.423 GB, free: 1.203 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.9084, allocations: 90.2 kB / 1.423 GB, free: 1.109 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.9086, allocations: 378.7 kB / 1.423 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.909, allocations: 177 kB / 1.424 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.9094, allocations: 260.8 kB / 1.424 GB, free: 288 kB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.9131, allocations: 1.443 MB / 1.425 GB, free: 14.79 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9131, allocations: 0 / 1.425 GB, free: 14.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009292/0.9141, allocations: 0.5424 MB / 1.426 GB, free: 14.24 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9141, allocations: 4 kB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9141, allocations: 4 kB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9141, allocations: 4 kB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.9146, allocations: 91.91 kB / 1.426 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9146, allocations: 11.92 kB / 1.426 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.9151, allocations: 22.22 kB / 1.426 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.9152, allocations: 20 kB / 1.426 GB, free: 14.09 MB / 1.154 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003304/0.9155, allocations: 242.2 kB / 1.426 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.9157, allocations: 71.58 kB / 1.426 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.9158, allocations: 78.45 kB / 1.426 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9158, allocations: 7.984 kB / 1.426 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9158, allocations: 0 / 1.426 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008009/0.9167, allocations: 0.5183 MB / 1.427 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.9191, allocations: 1.581 MB / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.9192, allocations: 8.125 kB / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.9197, allocations: 115.9 kB / 1.428 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.9197, allocations: 7.984 kB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.9198, allocations: 20 kB / 1.429 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9198, allocations: 11.88 kB / 1.429 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.9198, allocations: 15.88 kB / 1.429 GB, free: 11.26 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.9211, allocations: 0.9066 MB / 1.429 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.9214, allocations: 200.6 kB / 1.43 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.9215, allocations: 20 kB / 1.43 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.9221, allocations: 18.84 kB / 1.43 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.9222, allocations: 51.77 kB / 1.43 GB, free: 9.973 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.9222, allocations: 23.98 kB / 1.43 GB, free: 9.949 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004865/0.9227, allocations: 398.8 kB / 1.43 GB, free: 9.562 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9227, allocations: 0 / 1.43 GB, free: 9.562 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006339/0.9234, allocations: 199.9 kB / 1.43 GB, free: 9.367 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * Single equations (assignments): 49 * 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.001925/0.9253, allocations: 1.514 MB / 1.432 GB, free: 7.773 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.9261, allocations: 441.2 kB / 1.432 GB, free: 7.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.9262, allocations: 4 kB / 1.432 GB, free: 7.336 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.9266, allocations: 233.3 kB / 1.432 GB, free: 7.109 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.9288, allocations: 497.4 kB / 1.433 GB, free: 6.633 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.9364, allocations: 5.5 MB / 1.438 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.9371, allocations: 0.9811 MB / 1.439 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005424/0.9376, allocations: 161.9 kB / 1.439 GB, free: 15.73 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.938, allocations: 249.9 kB / 1.44 GB, free: 15.49 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/0.938, allocations: 0 / 1.44 GB, free: 15.49 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/0.9872, allocations: 20.36 MB / 1.46 GB, free: 11.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.966, allocations: 7.922 kB / 1.46 GB, free: 11.5 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches