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.007864/0.007864, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002026/0.002026, allocations: 192.1 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.387/2.387, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.91 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7218, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2061/0.928, allocations: 221.1 MB / 1.382 GB, free: 5.871 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008353/0.9364, allocations: 5.721 MB / 1.388 GB, free: 140 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008918/0.9373, allocations: 43.75 kB / 1.388 GB, free: 96 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.9386, allocations: 0.5825 MB / 1.388 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.9423, allocations: 1.839 MB / 1.39 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.945, allocations: 1.19 MB / 1.391 GB, free: 12.47 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.9479, allocations: 2.967 MB / 1.394 GB, free: 9.504 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.949, allocations: 1.031 MB / 1.395 GB, free: 8.453 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.9503, allocations: 1.055 MB / 1.396 GB, free: 7.395 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.9519, allocations: 0.9414 MB / 1.397 GB, free: 6.461 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.9521, allocations: 108 kB / 1.397 GB, free: 6.355 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.9544, allocations: 1.43 MB / 1.399 GB, free: 4.922 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.9548, allocations: 454.8 kB / 1.399 GB, free: 4.477 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.9555, allocations: 0.6572 MB / 1.4 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.9577, allocations: 2.127 MB / 1.402 GB, free: 1.684 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9577, allocations: 3.938 kB / 1.402 GB, free: 1.68 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9577, allocations: 4 kB / 1.402 GB, free: 1.676 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.9578, allocations: 4 kB / 1.402 GB, free: 1.672 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.002206/0.96, allocations: 1.496 MB / 1.403 GB, free: 124 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.96, allocations: 12.92 kB / 1.403 GB, free: 112 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.9602, allocations: 147.2 kB / 1.403 GB, free: 15.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.9622, allocations: 310.3 kB / 1.404 GB, free: 15.65 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.9635, allocations: 0.8552 MB / 1.405 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.9636, allocations: 66 kB / 1.405 GB, free: 14.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.9637, allocations: 88 kB / 1.405 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.9652, allocations: 0.9169 MB / 1.406 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.9652, allocations: 3.938 kB / 1.406 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.9653, allocations: 36 kB / 1.406 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.9654, allocations: 41.92 kB / 1.406 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.9667, allocations: 0.8353 MB / 1.406 GB, free: 12.77 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.004903/0.9717, allocations: 3.509 MB / 1.41 GB, free: 9.031 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.9724, allocations: 496.4 kB / 1.41 GB, free: 8.539 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.9729, allocations: 298 kB / 1.411 GB, free: 8.246 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.9731, allocations: 105.5 kB / 1.411 GB, free: 8.125 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.9731, allocations: 46.94 kB / 1.411 GB, free: 8.07 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 1.904e-06/0.9731, allocations: 0 / 1.411 GB, free: 8.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003333/0.9764, allocations: 1.872 MB / 1.413 GB, free: 6.102 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.9765, allocations: 55.84 kB / 1.413 GB, free: 6.035 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.9774, allocations: 0.8058 MB / 1.413 GB, free: 5.223 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.9774, allocations: 41.7 kB / 1.413 GB, free: 5.176 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.9777, allocations: 479.2 kB / 1.414 GB, free: 4.703 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9779, allocations: 177.5 kB / 1.414 GB, free: 4.527 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.9781, allocations: 118.2 kB / 1.414 GB, free: 4.406 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9782, allocations: 330 kB / 1.415 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.9786, allocations: 241.2 kB / 1.415 GB, free: 3.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.9791, allocations: 384.6 kB / 1.415 GB, free: 3.418 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.003665/0.9828, allocations: 1.543 MB / 1.417 GB, free: 1.816 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9828, allocations: 0 / 1.417 GB, free: 1.816 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001266/0.9841, allocations: 0.8 MB / 1.417 GB, free: 1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9841, allocations: 4 kB / 1.417 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9841, allocations: 4.047 kB / 1.417 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.9843, allocations: 69.67 kB / 1.418 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.985, allocations: 152.1 kB / 1.418 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.9873, allocations: 3.125 MB / 1.421 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.9881, allocations: 28.55 kB / 1.421 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.9881, allocations: 27.98 kB / 1.421 GB, free: 13.31 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.0003927/0.9885, allocations: 305.5 kB / 1.421 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.9887, allocations: 94.88 kB / 1.421 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.9889, allocations: 100.7 kB / 1.421 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.9889, allocations: 4 kB / 1.421 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.9889, allocations: 4.062 kB / 1.421 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009926/0.9899, allocations: 0.8387 MB / 1.422 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.9926, allocations: 1.792 MB / 1.424 GB, free: 9.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9927, allocations: 4 kB / 1.424 GB, free: 9.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.9933, allocations: 127.8 kB / 1.424 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-05/0.9934, allocations: 32.84 kB / 1.424 GB, free: 9.809 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.9934, allocations: 16 kB / 1.424 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.9946, allocations: 1.598 MB / 1.426 GB, free: 8.059 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9946, allocations: 7.938 kB / 1.426 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.996, allocations: 1.065 MB / 1.427 GB, free: 6.93 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.9964, allocations: 236 kB / 1.427 GB, free: 6.68 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9966, allocations: 19.98 kB / 1.427 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.9973, allocations: 27.98 kB / 1.427 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.9974, allocations: 47.75 kB / 1.427 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.9975, allocations: 27.98 kB / 1.427 GB, free: 6.559 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006348/0.9981, allocations: 0.5615 MB / 1.427 GB, free: 6.004 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/0.9981, allocations: 4 kB / 1.427 GB, free: 6 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008024/0.9989, allocations: 283.9 kB / 1.428 GB, free: 5.723 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.002101/1.001, allocations: 1.704 MB / 1.429 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.002, allocations: 0.7923 MB / 1.43 GB, free: 3.145 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.002, allocations: 0.8125 kB / 1.43 GB, free: 3.145 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000547/1.003, allocations: 418.1 kB / 1.431 GB, free: 2.723 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.005, allocations: 0.5981 MB / 1.431 GB, free: 2.133 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/1.015, allocations: 6.992 MB / 1.438 GB, free: 10.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/1.016, allocations: 1.088 MB / 1.439 GB, free: 9.723 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001027/1.017, allocations: 219.7 kB / 1.439 GB, free: 9.504 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/1.017, allocations: 347.3 kB / 1.44 GB, free: 9.164 MB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/1.017, allocations: 0 / 1.44 GB, free: 9.164 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/1.099, allocations: 27.45 MB / 1.466 GB, free: 14.12 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.66, allocations: 5.375 kB / 1.466 GB, free: 14.11 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