Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.004727/0.004727, allocations: 102 kB / 15.73 MB, free: 6.062 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.001316/0.001316, allocations: 192 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 73.47 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2724, allocations: 162.2 MB / 1.241 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2375/0.51, allocations: 221.2 MB / 1.458 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009316/0.5193, allocations: 5.737 MB / 1.463 GB, free: 5.449 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000999/0.5204, allocations: 47.69 kB / 1.463 GB, free: 5.402 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5218, allocations: 0.5747 MB / 1.464 GB, free: 4.824 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.5259, allocations: 1.839 MB / 1.466 GB, free: 2.977 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.5287, allocations: 1.19 MB / 1.467 GB, free: 1.793 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003879/0.5326, allocations: 2.952 MB / 1.47 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.5341, allocations: 1.027 MB / 1.471 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.5365, allocations: 1.249 MB / 1.472 GB, free: 12.53 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.5387, allocations: 0.9374 MB / 1.473 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.5389, allocations: 108 kB / 1.473 GB, free: 11.5 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.5416, allocations: 1.419 MB / 1.474 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.5422, allocations: 462.8 kB / 1.475 GB, free: 9.621 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00078/0.5429, allocations: 0.6572 MB / 1.475 GB, free: 8.961 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.5459, allocations: 2.137 MB / 1.477 GB, free: 6.816 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5459, allocations: 4 kB / 1.477 GB, free: 6.812 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5459, allocations: 0 / 1.477 GB, free: 6.812 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.5459, allocations: 0 / 1.477 GB, free: 6.812 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002423/0.5484, allocations: 1.541 MB / 1.479 GB, free: 5.215 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5484, allocations: 8.031 kB / 1.479 GB, free: 5.207 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.5486, allocations: 143.3 kB / 1.479 GB, free: 5.059 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.5506, allocations: 322.9 kB / 1.479 GB, free: 4.742 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.552, allocations: 0.8599 MB / 1.48 GB, free: 3.84 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.5521, allocations: 66 kB / 1.48 GB, free: 3.777 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.5522, allocations: 87.98 kB / 1.48 GB, free: 3.691 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5539, allocations: 0.9131 MB / 1.481 GB, free: 2.77 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5539, allocations: 0 / 1.481 GB, free: 2.77 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.554, allocations: 40 kB / 1.481 GB, free: 2.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.5541, allocations: 33.94 kB / 1.481 GB, free: 2.695 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.5556, allocations: 0.8354 MB / 1.482 GB, free: 1.863 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.561, allocations: 3.677 MB / 1.486 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.5619, allocations: 0.491 MB / 1.486 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.5624, allocations: 298 kB / 1.486 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.5626, allocations: 105.5 kB / 1.487 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5626, allocations: 46.94 kB / 1.487 GB, free: 12.96 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.5627, allocations: 0 / 1.487 GB, free: 12.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.003701/0.5664, allocations: 1.882 MB / 1.488 GB, free: 10.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5664, allocations: 55.84 kB / 1.488 GB, free: 10.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5674, allocations: 0.8136 MB / 1.489 GB, free: 10.09 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.5675, allocations: 37.7 kB / 1.489 GB, free: 10.05 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.5679, allocations: 492.2 kB / 1.49 GB, free: 9.562 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.5681, allocations: 182.5 kB / 1.49 GB, free: 9.383 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.5683, allocations: 118.2 kB / 1.49 GB, free: 9.262 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5684, allocations: 330 kB / 1.49 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.5689, allocations: 241.2 kB / 1.491 GB, free: 8.699 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.5695, allocations: 388.6 kB / 1.491 GB, free: 8.27 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.5734, allocations: 1.535 MB / 1.492 GB, free: 6.676 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5734, allocations: 0 / 1.492 GB, free: 6.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001441/0.5749, allocations: 0.8004 MB / 1.493 GB, free: 5.863 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5749, allocations: 8 kB / 1.493 GB, free: 5.855 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5749, allocations: 0 / 1.493 GB, free: 5.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.5751, allocations: 74.08 kB / 1.493 GB, free: 5.777 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.5758, allocations: 147.8 kB / 1.493 GB, free: 5.633 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.5786, allocations: 3.117 MB / 1.497 GB, free: 2.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.5794, allocations: 43.78 kB / 1.497 GB, free: 2.188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.5795, allocations: 20 kB / 1.497 GB, free: 2.168 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000463/0.5799, allocations: 309.5 kB / 1.497 GB, free: 1.855 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.5801, allocations: 99.44 kB / 1.497 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.5803, allocations: 100.8 kB / 1.497 GB, free: 1.656 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5803, allocations: 8 kB / 1.497 GB, free: 1.648 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5803, allocations: 0 / 1.497 GB, free: 1.648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.5815, allocations: 0.8348 MB / 1.498 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.5844, allocations: 1.8 MB / 1.5 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5844, allocations: 4 kB / 1.5 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/0.5851, allocations: 127.8 kB / 1.5 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.775e-05/0.5852, allocations: 36.88 kB / 1.5 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.5852, allocations: 20.33 kB / 1.5 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.5866, allocations: 1.591 MB / 1.501 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5866, allocations: 7.938 kB / 1.501 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.5883, allocations: 1.074 MB / 1.502 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.5887, allocations: 244.5 kB / 1.503 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.5888, allocations: 15.94 kB / 1.503 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.5895, allocations: 30.17 kB / 1.503 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5896, allocations: 43.89 kB / 1.503 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.5897, allocations: 31.92 kB / 1.503 GB, free: 11.4 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007414/0.5904, allocations: 0.5654 MB / 1.503 GB, free: 10.84 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5904, allocations: 0 / 1.503 GB, free: 10.84 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008017/0.5912, allocations: 279.9 kB / 1.504 GB, free: 10.57 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/0.5935, allocations: 1.709 MB / 1.505 GB, free: 8.793 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.5949, allocations: 0.8007 MB / 1.506 GB, free: 7.965 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5949, allocations: 4.125 kB / 1.506 GB, free: 7.961 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.5955, allocations: 418 kB / 1.506 GB, free: 7.539 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.5983, allocations: 0.5961 MB / 1.507 GB, free: 6.957 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/0.6081, allocations: 7.033 MB / 1.514 GB, free: 15.63 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.6089, allocations: 1.088 MB / 1.515 GB, free: 14.51 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.6097, allocations: 219.7 kB / 1.515 GB, free: 14.29 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.6102, allocations: 343.3 kB / 1.516 GB, free: 13.96 MB / 1.248 GB Notification: Performance of SimCode: time 3.81e-07/0.6102, allocations: 0 / 1.516 GB, free: 13.96 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/0.6728, allocations: 27.44 MB / 1.542 GB, free: 2.988 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.57, allocations: 2.234 kB / 1.542 GB, free: 2.988 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches