Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_9_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.004404/0.004404, allocations: 100.6 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.001074/0.001074, allocations: 190 kB / 16.67 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6891, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2342/0.9234, allocations: 221.1 MB / 1.303 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.9326, allocations: 5.72 MB / 1.309 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.9339, allocations: 43.75 kB / 1.309 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.9357, allocations: 0.602 MB / 1.31 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.9402, allocations: 1.914 MB / 1.311 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.9431, allocations: 1.199 MB / 1.313 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003531/0.9467, allocations: 2.968 MB / 1.316 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.9481, allocations: 1.019 MB / 1.317 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.95, allocations: 1.117 MB / 1.318 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.9521, allocations: 0.9378 MB / 1.319 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.9524, allocations: 108 kB / 1.319 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.9552, allocations: 1.442 MB / 1.32 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.9557, allocations: 466.8 kB / 1.321 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.9565, allocations: 0.6417 MB / 1.321 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.9593, allocations: 2.137 MB / 1.323 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9593, allocations: 0 / 1.323 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9593, allocations: 0 / 1.323 GB, free: 12.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.9593, allocations: 0 / 1.323 GB, free: 12.07 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002319/0.9617, allocations: 1.541 MB / 1.325 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9617, allocations: 8.031 kB / 1.325 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.9619, allocations: 151.2 kB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.9639, allocations: 326.9 kB / 1.325 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9654, allocations: 0.8638 MB / 1.326 GB, free: 9.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.9654, allocations: 62 kB / 1.326 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.9656, allocations: 87.95 kB / 1.326 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.9671, allocations: 0.9092 MB / 1.327 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.9672, allocations: 0 / 1.327 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.9673, allocations: 40 kB / 1.327 GB, free: 7.984 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.9673, allocations: 37.88 kB / 1.327 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.9688, allocations: 0.8393 MB / 1.328 GB, free: 7.109 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.005209/0.974, allocations: 3.514 MB / 1.331 GB, free: 3.379 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.9748, allocations: 0.4924 MB / 1.332 GB, free: 2.875 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.9752, allocations: 303.2 kB / 1.332 GB, free: 2.578 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.9754, allocations: 101.5 kB / 1.332 GB, free: 2.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9755, allocations: 46.94 kB / 1.332 GB, free: 2.406 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.9755, allocations: 0 / 1.332 GB, free: 2.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003643/0.9791, allocations: 1.893 MB / 1.334 GB, free: 424 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.9792, allocations: 63.84 kB / 1.334 GB, free: 348 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/0.9802, allocations: 0.8058 MB / 1.335 GB, free: 15.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.9802, allocations: 37.7 kB / 1.335 GB, free: 15.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.9806, allocations: 480.2 kB / 1.336 GB, free: 15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.9807, allocations: 186.4 kB / 1.336 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.9809, allocations: 110.3 kB / 1.336 GB, free: 14.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.981, allocations: 334 kB / 1.336 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.9815, allocations: 245.2 kB / 1.336 GB, free: 14.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.982, allocations: 384.6 kB / 1.337 GB, free: 13.71 MB / 1.076 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.003739/0.9858, allocations: 1.539 MB / 1.338 GB, free: 12.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9858, allocations: 4 kB / 1.338 GB, free: 12.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00127/0.9871, allocations: 0.7965 MB / 1.339 GB, free: 11.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9871, allocations: 8.406 kB / 1.339 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.9871, allocations: 8 kB / 1.339 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.9873, allocations: 65.67 kB / 1.339 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.988, allocations: 151.8 kB / 1.339 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.9903, allocations: 3.129 MB / 1.342 GB, free: 7.648 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.9912, allocations: 30.17 kB / 1.342 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.9912, allocations: 20 kB / 1.342 GB, free: 7.602 MB / 1.076 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.0004213/0.9917, allocations: 312.6 kB / 1.343 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.9918, allocations: 95.44 kB / 1.343 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.992, allocations: 100.7 kB / 1.343 GB, free: 7.098 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.992, allocations: 4 kB / 1.343 GB, free: 7.094 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.992, allocations: 0 / 1.343 GB, free: 7.094 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.9931, allocations: 0.8387 MB / 1.344 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.9959, allocations: 1.794 MB / 1.345 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9959, allocations: 4 kB / 1.345 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.9966, allocations: 136.2 kB / 1.346 GB, free: 4.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-05/0.9967, allocations: 44.83 kB / 1.346 GB, free: 4.086 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.9967, allocations: 12.05 kB / 1.346 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.9979, allocations: 1.602 MB / 1.347 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.9979, allocations: 3.938 kB / 1.347 GB, free: 2.332 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.9995, allocations: 1.07 MB / 1.348 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.9999, allocations: 236.5 kB / 1.348 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1, allocations: 19.94 kB / 1.348 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/1.001, allocations: 37.33 kB / 1.348 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/1.001, allocations: 39.95 kB / 1.348 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/1.001, allocations: 31.98 kB / 1.349 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006983/1.002, allocations: 0.5615 MB / 1.349 GB, free: 276 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 1.349 GB, free: 276 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009458/1.003, allocations: 276.1 kB / 1.349 GB, free: 16 MB / 1.092 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.002137/1.005, allocations: 1.699 MB / 1.351 GB, free: 14.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.006, allocations: 0.8115 MB / 1.352 GB, free: 13.39 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.006, allocations: 4 kB / 1.352 GB, free: 13.39 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/1.007, allocations: 404 kB / 1.352 GB, free: 12.98 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.01, allocations: 0.6036 MB / 1.353 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/1.019, allocations: 7.049 MB / 1.36 GB, free: 5.043 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/1.02, allocations: 1.091 MB / 1.361 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007719/1.021, allocations: 211.7 kB / 1.361 GB, free: 3.711 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/1.021, allocations: 339.3 kB / 1.361 GB, free: 3.379 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.021, allocations: 0 / 1.361 GB, free: 3.379 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/1.077, allocations: 27.44 MB / 1.388 GB, free: 8.445 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.55, allocations: 0 / 1.388 GB, free: 8.445 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches