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.007218/0.007218, allocations: 100.8 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.001694/0.001694, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.221/2.221, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.714, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2355/0.9495, allocations: 221.1 MB / 1.303 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009126/0.9587, allocations: 5.725 MB / 1.309 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.9599, allocations: 43.75 kB / 1.309 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.9615, allocations: 0.5786 MB / 1.31 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.9658, allocations: 1.843 MB / 1.311 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.9687, allocations: 1.191 MB / 1.313 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.9722, allocations: 2.956 MB / 1.315 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.9736, allocations: 1.023 MB / 1.316 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.9755, allocations: 1.066 MB / 1.317 GB, free: 2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.9776, allocations: 0.9323 MB / 1.318 GB, free: 1.074 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.9779, allocations: 111.9 kB / 1.319 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.9806, allocations: 1.43 MB / 1.32 GB, free: 15.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.9812, allocations: 462.8 kB / 1.32 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.9822, allocations: 0.6534 MB / 1.321 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.9853, allocations: 2.131 MB / 1.323 GB, free: 12.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9853, allocations: 4 kB / 1.323 GB, free: 12.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9853, allocations: 0 / 1.323 GB, free: 12.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.057e-05/0.9853, allocations: 0 / 1.323 GB, free: 12.28 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.002815/0.9881, allocations: 1.507 MB / 1.325 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9882, allocations: 8.031 kB / 1.325 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.9884, allocations: 143.2 kB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.9905, allocations: 314.3 kB / 1.325 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.9921, allocations: 0.8591 MB / 1.326 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.9922, allocations: 65.98 kB / 1.326 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.9923, allocations: 84 kB / 1.326 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.994, allocations: 0.9192 MB / 1.327 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.994, allocations: 3.984 kB / 1.327 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.9941, allocations: 39.94 kB / 1.327 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.9942, allocations: 41.92 kB / 1.327 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.9957, allocations: 0.8276 MB / 1.328 GB, free: 7.371 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.005514/1.001, allocations: 3.509 MB / 1.331 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/1.002, allocations: 0.4925 MB / 1.332 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/1.002, allocations: 295.3 kB / 1.332 GB, free: 2.852 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/1.003, allocations: 101.5 kB / 1.332 GB, free: 2.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/1.003, allocations: 46.94 kB / 1.332 GB, free: 2.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/1.003, allocations: 4 kB / 1.332 GB, free: 2.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003649/1.006, allocations: 1.872 MB / 1.334 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/1.006, allocations: 59.78 kB / 1.334 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.007, allocations: 0.8097 MB / 1.335 GB, free: 15.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/1.008, allocations: 37.7 kB / 1.335 GB, free: 15.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/1.008, allocations: 479.2 kB / 1.335 GB, free: 15.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.008, allocations: 173.5 kB / 1.335 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.008, allocations: 122.1 kB / 1.336 GB, free: 15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.008, allocations: 330 kB / 1.336 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/1.009, allocations: 245.2 kB / 1.336 GB, free: 14.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/1.009, allocations: 382.4 kB / 1.336 GB, free: 14.01 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.003816/1.013, allocations: 1.543 MB / 1.338 GB, free: 12.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.013, allocations: 0 / 1.338 GB, free: 12.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001367/1.015, allocations: 0.7964 MB / 1.339 GB, free: 11.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.015, allocations: 8 kB / 1.339 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.015, allocations: 0 / 1.339 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/1.015, allocations: 69.62 kB / 1.339 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/1.016, allocations: 151.9 kB / 1.339 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.018, allocations: 3.125 MB / 1.342 GB, free: 7.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/1.019, allocations: 32.14 kB / 1.342 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/1.019, allocations: 23.98 kB / 1.342 GB, free: 7.898 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.0004868/1.02, allocations: 306 kB / 1.342 GB, free: 7.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.02, allocations: 94.88 kB / 1.342 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/1.02, allocations: 96.73 kB / 1.343 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.02, allocations: 7.984 kB / 1.343 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.02, allocations: 0 / 1.343 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/1.021, allocations: 0.8388 MB / 1.343 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/1.024, allocations: 1.791 MB / 1.345 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.024, allocations: 8.094 kB / 1.345 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/1.025, allocations: 127.8 kB / 1.345 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.451e-05/1.025, allocations: 40.83 kB / 1.345 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/1.025, allocations: 16 kB / 1.345 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.026, allocations: 1.598 MB / 1.347 GB, free: 2.648 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.026, allocations: 7.938 kB / 1.347 GB, free: 2.641 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/1.028, allocations: 1.062 MB / 1.348 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/1.028, allocations: 235.9 kB / 1.348 GB, free: 1.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.028, allocations: 23.92 kB / 1.348 GB, free: 1.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/1.029, allocations: 29.27 kB / 1.348 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.029, allocations: 43.89 kB / 1.348 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/1.029, allocations: 27.98 kB / 1.348 GB, free: 1.148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007527/1.03, allocations: 0.5576 MB / 1.349 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/1.03, allocations: 0 / 1.349 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008908/1.031, allocations: 279.9 kB / 1.349 GB, free: 328 kB / 1.076 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.002303/1.033, allocations: 1.695 MB / 1.351 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.035, allocations: 0.8116 MB / 1.351 GB, free: 13.73 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.035, allocations: 4 kB / 1.352 GB, free: 13.72 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/1.035, allocations: 411.9 kB / 1.352 GB, free: 13.31 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.038, allocations: 0.6029 MB / 1.352 GB, free: 12.72 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/1.048, allocations: 6.99 MB / 1.359 GB, free: 5.426 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/1.049, allocations: 1.091 MB / 1.36 GB, free: 4.305 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007669/1.05, allocations: 215.7 kB / 1.361 GB, free: 4.09 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/1.05, allocations: 343.3 kB / 1.361 GB, free: 3.754 MB / 1.092 GB Notification: Performance of SimCode: time 7.61e-07/1.05, allocations: 0 / 1.361 GB, free: 3.754 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05777/1.108, allocations: 27.45 MB / 1.388 GB, free: 8.816 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.2, allocations: 7.688 kB / 1.388 GB, free: 8.812 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