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 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.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.005301/0.005301, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001341/0.001341, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7422 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6891, allocations: 159.1 MB / 1.22 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2101/0.8993, allocations: 221.1 MB / 1.436 GB, free: 4.293 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.9095, allocations: 5.723 MB / 1.441 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.911, allocations: 35.81 kB / 1.441 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.9128, allocations: 0.6059 MB / 1.442 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004454/0.9173, allocations: 1.906 MB / 1.444 GB, free: 12 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.9201, allocations: 1.206 MB / 1.445 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003253/0.9233, allocations: 2.949 MB / 1.448 GB, free: 7.84 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.9247, allocations: 1.027 MB / 1.449 GB, free: 6.793 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.9266, allocations: 1.117 MB / 1.45 GB, free: 5.672 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.9287, allocations: 0.9459 MB / 1.451 GB, free: 4.734 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.9289, allocations: 108 kB / 1.451 GB, free: 4.629 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.9314, allocations: 1.434 MB / 1.452 GB, free: 3.191 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.9319, allocations: 462.8 kB / 1.453 GB, free: 2.738 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.9328, allocations: 0.6534 MB / 1.453 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.9357, allocations: 2.141 MB / 1.456 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9357, allocations: 0 / 1.456 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9357, allocations: 0 / 1.456 GB, free: 15.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.308e-05/0.9357, allocations: 0 / 1.456 GB, free: 15.93 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002798/0.9385, allocations: 1.539 MB / 1.457 GB, free: 14.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9386, allocations: 12.56 kB / 1.457 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.9388, allocations: 139.3 kB / 1.457 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.9409, allocations: 330.8 kB / 1.457 GB, free: 13.86 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.9424, allocations: 0.8638 MB / 1.458 GB, free: 12.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.9425, allocations: 66 kB / 1.458 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.9426, allocations: 80 kB / 1.458 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.9442, allocations: 0.9131 MB / 1.459 GB, free: 11.89 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.9442, allocations: 3.984 kB / 1.459 GB, free: 11.89 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.9443, allocations: 40 kB / 1.459 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.9444, allocations: 33.94 kB / 1.459 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.9458, allocations: 0.8354 MB / 1.46 GB, free: 10.98 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.005571/0.9514, allocations: 3.514 MB / 1.464 GB, free: 7.242 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.9522, allocations: 0.4905 MB / 1.464 GB, free: 6.742 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.9527, allocations: 305.9 kB / 1.464 GB, free: 6.441 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.9529, allocations: 109.5 kB / 1.465 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.9529, allocations: 42.94 kB / 1.465 GB, free: 6.266 MB / 1.186 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.953, allocations: 4 kB / 1.465 GB, free: 6.262 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.00374/0.9567, allocations: 1.878 MB / 1.466 GB, free: 4.289 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.9568, allocations: 59.84 kB / 1.466 GB, free: 4.219 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.9577, allocations: 0.8175 MB / 1.467 GB, free: 3.395 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.9578, allocations: 37.7 kB / 1.467 GB, free: 3.352 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.9582, allocations: 488.1 kB / 1.468 GB, free: 2.871 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.9583, allocations: 186.4 kB / 1.468 GB, free: 2.688 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.9586, allocations: 114.3 kB / 1.468 GB, free: 2.57 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9587, allocations: 330 kB / 1.468 GB, free: 2.242 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.9592, allocations: 245.2 kB / 1.469 GB, free: 2.004 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.9597, allocations: 384.6 kB / 1.469 GB, free: 1.578 MB / 1.186 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.003599/0.9633, allocations: 1.536 MB / 1.47 GB, free: 15.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9633, allocations: 4 kB / 1.47 GB, free: 15.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001345/0.9647, allocations: 0.7965 MB / 1.471 GB, free: 15.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9647, allocations: 8 kB / 1.471 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9647, allocations: 4.406 kB / 1.471 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.9649, allocations: 73.67 kB / 1.471 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.9656, allocations: 143.8 kB / 1.471 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.968, allocations: 3.133 MB / 1.475 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.9689, allocations: 27.94 kB / 1.475 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.969, allocations: 20 kB / 1.475 GB, free: 11.48 MB / 1.201 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.0004719/0.9694, allocations: 309.6 kB / 1.475 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.9696, allocations: 103.4 kB / 1.475 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.9698, allocations: 104.7 kB / 1.475 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9698, allocations: 4 kB / 1.475 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9699, allocations: 4 kB / 1.475 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009984/0.9709, allocations: 0.8309 MB / 1.476 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.9738, allocations: 1.795 MB / 1.478 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9738, allocations: 4 kB / 1.478 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.9744, allocations: 127.8 kB / 1.478 GB, free: 8.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.931e-05/0.9745, allocations: 45.25 kB / 1.478 GB, free: 7.961 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.9746, allocations: 15.98 kB / 1.478 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.9758, allocations: 1.594 MB / 1.479 GB, free: 6.211 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9758, allocations: 7.938 kB / 1.479 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.9773, allocations: 1.074 MB / 1.48 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.9777, allocations: 236.4 kB / 1.481 GB, free: 4.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.9778, allocations: 19.94 kB / 1.481 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.9785, allocations: 31.92 kB / 1.481 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.9787, allocations: 43.95 kB / 1.481 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.9787, allocations: 31.97 kB / 1.481 GB, free: 4.695 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006792/0.9794, allocations: 0.5576 MB / 1.481 GB, free: 4.145 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9794, allocations: 0 / 1.481 GB, free: 4.145 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008278/0.9803, allocations: 279.9 kB / 1.482 GB, free: 3.871 MB / 1.201 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.002007/0.9823, allocations: 1.708 MB / 1.483 GB, free: 2.105 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.9835, allocations: 0.8043 MB / 1.484 GB, free: 1.273 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9836, allocations: 4 kB / 1.484 GB, free: 1.27 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.9841, allocations: 406.1 kB / 1.484 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.9868, allocations: 0.5918 MB / 1.485 GB, free: 284 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009/0.9958, allocations: 7.049 MB / 1.492 GB, free: 8.922 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.9964, allocations: 1.095 MB / 1.493 GB, free: 7.797 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007501/0.9972, allocations: 223.7 kB / 1.493 GB, free: 7.574 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.9977, allocations: 339.3 kB / 1.494 GB, free: 7.242 MB / 1.217 GB Notification: Performance of SimCode: time 6.11e-07/0.9977, allocations: 0 / 1.494 GB, free: 7.242 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/1.054, allocations: 27.44 MB / 1.52 GB, free: 12.29 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.59, allocations: 3.859 kB / 1.52 GB, free: 12.29 MB / 1.248 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 50 --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