Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_10_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.006769/0.006769, allocations: 99.83 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.00171/0.00171, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.357/1.357, 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 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7078, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2165/0.9243, allocations: 221.1 MB / 1.382 GB, free: 5.836 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009252/0.9336, allocations: 5.721 MB / 1.388 GB, free: 108 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.9348, allocations: 43.75 kB / 1.388 GB, free: 64 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.9364, allocations: 0.602 MB / 1.388 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.9404, allocations: 1.91 MB / 1.39 GB, free: 13.54 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.9431, allocations: 1.202 MB / 1.391 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.9461, allocations: 2.954 MB / 1.394 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.9472, allocations: 1.027 MB / 1.395 GB, free: 8.336 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.9486, allocations: 1.109 MB / 1.396 GB, free: 7.223 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.9503, allocations: 0.9439 MB / 1.397 GB, free: 6.285 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.9504, allocations: 108 kB / 1.397 GB, free: 6.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.9528, allocations: 1.442 MB / 1.399 GB, free: 4.734 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.9532, allocations: 458.8 kB / 1.399 GB, free: 4.285 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006383/0.9539, allocations: 0.6573 MB / 1.4 GB, free: 3.625 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.9563, allocations: 2.134 MB / 1.402 GB, free: 1.484 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9563, allocations: 0 / 1.402 GB, free: 1.484 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9563, allocations: 3.938 kB / 1.402 GB, free: 1.48 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.9564, allocations: 4 kB / 1.402 GB, free: 1.477 MB / 1.123 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.00223/0.9586, allocations: 1.533 MB / 1.403 GB, free: 15.88 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.9586, allocations: 12.92 kB / 1.403 GB, free: 15.87 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.9588, allocations: 139.3 kB / 1.404 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.9607, allocations: 326.7 kB / 1.404 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.962, allocations: 0.856 MB / 1.405 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.9621, allocations: 73.88 kB / 1.405 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.9622, allocations: 84 kB / 1.405 GB, free: 14.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.9637, allocations: 0.9131 MB / 1.406 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.9637, allocations: 4 kB / 1.406 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.9638, allocations: 39.94 kB / 1.406 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.9639, allocations: 30 kB / 1.406 GB, free: 13.37 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.9653, allocations: 0.8354 MB / 1.407 GB, free: 12.53 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.004983/0.9703, allocations: 3.522 MB / 1.41 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.9711, allocations: 0.4886 MB / 1.411 GB, free: 8.289 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.9715, allocations: 298 kB / 1.411 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.9717, allocations: 101.5 kB / 1.411 GB, free: 7.879 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.9718, allocations: 46.98 kB / 1.411 GB, free: 7.824 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.9718, allocations: 0 / 1.411 GB, free: 7.824 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003567/0.9754, allocations: 1.889 MB / 1.413 GB, free: 5.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.9754, allocations: 55.84 kB / 1.413 GB, free: 5.773 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.9763, allocations: 0.8058 MB / 1.414 GB, free: 4.961 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.9764, allocations: 41.7 kB / 1.414 GB, free: 4.914 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.9767, allocations: 492.1 kB / 1.414 GB, free: 4.43 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.9769, allocations: 174.5 kB / 1.414 GB, free: 4.258 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.9771, allocations: 122.2 kB / 1.414 GB, free: 4.133 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9772, allocations: 338 kB / 1.415 GB, free: 3.797 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.9776, allocations: 245.1 kB / 1.415 GB, free: 3.555 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.9781, allocations: 380.7 kB / 1.415 GB, free: 3.137 MB / 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.9818, allocations: 1.547 MB / 1.417 GB, free: 1.531 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.9818, allocations: 7.875 kB / 1.417 GB, free: 1.523 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00128/0.9831, allocations: 0.7931 MB / 1.418 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.9831, allocations: 7.984 kB / 1.418 GB, free: 0.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9831, allocations: 4 kB / 1.418 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.9833, allocations: 65.69 kB / 1.418 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.984, allocations: 147.8 kB / 1.418 GB, free: 500 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.9864, allocations: 3.129 MB / 1.421 GB, free: 13.08 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.9872, allocations: 29.22 kB / 1.421 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.9873, allocations: 31.98 kB / 1.421 GB, free: 13.02 MB / 1.154 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.0004266/0.9877, allocations: 301.5 kB / 1.421 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.9879, allocations: 99.42 kB / 1.421 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.9881, allocations: 96.73 kB / 1.421 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9881, allocations: 8.078 kB / 1.421 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9881, allocations: 3.984 kB / 1.421 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009934/0.9891, allocations: 0.8427 MB / 1.422 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.9918, allocations: 1.792 MB / 1.424 GB, free: 9.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9918, allocations: 4.031 kB / 1.424 GB, free: 9.676 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.9924, allocations: 131.9 kB / 1.424 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.9925, allocations: 40.83 kB / 1.424 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.9926, allocations: 12 kB / 1.424 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.9938, allocations: 1.598 MB / 1.426 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9938, allocations: 4 kB / 1.426 GB, free: 7.754 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.9953, allocations: 1.062 MB / 1.427 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.9956, allocations: 240.5 kB / 1.427 GB, free: 6.383 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.9958, allocations: 19.92 kB / 1.427 GB, free: 6.363 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.9964, allocations: 39.45 kB / 1.427 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.9966, allocations: 43.75 kB / 1.427 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.9966, allocations: 35.92 kB / 1.427 GB, free: 6.25 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006648/0.9973, allocations: 0.5614 MB / 1.428 GB, free: 5.695 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9973, allocations: 0 / 1.428 GB, free: 5.695 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008138/0.9981, allocations: 279.9 kB / 1.428 GB, free: 5.422 MB / 1.154 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.002072/1, allocations: 1.693 MB / 1.43 GB, free: 3.664 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001311/1.002, allocations: 0.8 MB / 1.43 GB, free: 2.84 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.002, allocations: 0 / 1.43 GB, free: 2.84 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/1.002, allocations: 419.7 kB / 1.431 GB, free: 2.418 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.005, allocations: 0.6014 MB / 1.431 GB, free: 1.828 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0097/1.015, allocations: 7.029 MB / 1.438 GB, free: 10.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/1.015, allocations: 1.084 MB / 1.439 GB, free: 9.383 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007575/1.016, allocations: 223.7 kB / 1.44 GB, free: 9.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/1.017, allocations: 351.3 kB / 1.44 GB, free: 8.816 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/1.017, allocations: 0 / 1.44 GB, free: 8.816 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05856/1.075, allocations: 27.45 MB / 1.467 GB, free: 13.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.38, allocations: 9.25 kB / 1.467 GB, free: 13.77 MB / 1.201 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches