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.001668/0.001668, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002042, allocations: 194 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.402 MB / 190.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.371/2.371, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5633, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2122/0.7755, allocations: 221.1 MB / 1.166 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008416/0.784, allocations: 5.734 MB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.7851, allocations: 35.81 kB / 1.171 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.7866, allocations: 0.5863 MB / 1.172 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.7905, allocations: 1.839 MB / 1.174 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.7932, allocations: 1.174 MB / 1.175 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.7963, allocations: 2.962 MB / 1.178 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.7977, allocations: 1.011 MB / 1.179 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.7996, allocations: 1.062 MB / 1.18 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.8016, allocations: 0.944 MB / 1.181 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.8019, allocations: 108 kB / 1.181 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.8046, allocations: 1.426 MB / 1.182 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.8051, allocations: 462.8 kB / 1.183 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000911/0.806, allocations: 0.6533 MB / 1.183 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.809, allocations: 2.111 MB / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.809, allocations: 7.984 kB / 1.185 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.809, allocations: 4 kB / 1.185 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.274e-05/0.8091, allocations: 0 / 1.185 GB, free: 15.78 MB / 0.9512 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.003032/0.8121, allocations: 1.504 MB / 1.187 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8121, allocations: 8.031 kB / 1.187 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.8124, allocations: 139.3 kB / 1.187 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.8145, allocations: 318.3 kB / 1.187 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.8159, allocations: 0.8201 MB / 1.188 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.816, allocations: 62 kB / 1.188 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8161, allocations: 88 kB / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.8177, allocations: 0.9131 MB / 1.189 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.8177, allocations: 0 / 1.189 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.8178, allocations: 43.98 kB / 1.189 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.8179, allocations: 37.94 kB / 1.189 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.8194, allocations: 0.8276 MB / 1.19 GB, free: 10.92 MB / 0.9512 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.005504/0.8249, allocations: 3.56 MB / 1.193 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.8257, allocations: 498.3 kB / 1.194 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.8262, allocations: 297.3 kB / 1.194 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.8264, allocations: 101.5 kB / 1.194 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.8264, allocations: 50.92 kB / 1.194 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.8264, allocations: 0 / 1.194 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.003719/0.8301, allocations: 1.872 MB / 1.196 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.8302, allocations: 55.84 kB / 1.196 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.8312, allocations: 0.802 MB / 1.197 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.8313, allocations: 41.7 kB / 1.197 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.8316, allocations: 487.1 kB / 1.197 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.8318, allocations: 177.5 kB / 1.198 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.832, allocations: 110.2 kB / 1.198 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8321, allocations: 334 kB / 1.198 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.8325, allocations: 241.2 kB / 1.198 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.8331, allocations: 384.7 kB / 1.199 GB, free: 1.52 MB / 0.9512 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.003743/0.8368, allocations: 1.548 MB / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8368, allocations: 0 / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001317/0.8381, allocations: 0.7922 MB / 1.201 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8382, allocations: 4 kB / 1.201 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8382, allocations: 12.33 kB / 1.201 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.8384, allocations: 69.72 kB / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.8391, allocations: 155.8 kB / 1.201 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.8415, allocations: 3.109 MB / 1.204 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.8423, allocations: 36.58 kB / 1.204 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.8424, allocations: 24 kB / 1.204 GB, free: 11.42 MB / 0.9669 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.0004279/0.8428, allocations: 315.4 kB / 1.205 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.843, allocations: 90.97 kB / 1.205 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.8432, allocations: 100.7 kB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8432, allocations: 4 kB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8432, allocations: 0 / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.8442, allocations: 0.8427 MB / 1.206 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.847, allocations: 1.782 MB / 1.207 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.847, allocations: 8.062 kB / 1.207 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.8477, allocations: 123.9 kB / 1.207 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.954e-05/0.8478, allocations: 40.83 kB / 1.207 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.8478, allocations: 19.94 kB / 1.207 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.849, allocations: 1.59 MB / 1.209 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.849, allocations: 4 kB / 1.209 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.8506, allocations: 1.077 MB / 1.21 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.8509, allocations: 236 kB / 1.21 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.8511, allocations: 23.98 kB / 1.21 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.8518, allocations: 29 kB / 1.21 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.8519, allocations: 47.75 kB / 1.21 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.852, allocations: 31.98 kB / 1.21 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006718/0.8526, allocations: 0.5576 MB / 1.211 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8526, allocations: 4 kB / 1.211 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008025/0.8535, allocations: 279.9 kB / 1.211 GB, free: 3.824 MB / 0.9669 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.002056/0.8555, allocations: 1.702 MB / 1.213 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.8569, allocations: 0.8627 MB / 1.214 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8569, allocations: 0.8125 kB / 1.214 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/0.8575, allocations: 417.9 kB / 1.214 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8602, allocations: 0.6034 MB / 1.215 GB, free: 172 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/0.8696, allocations: 7.296 MB / 1.222 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.8703, allocations: 1.088 MB / 1.223 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008703/0.8712, allocations: 215.7 kB / 1.223 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.8716, allocations: 347.3 kB / 1.223 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8716, allocations: 0 / 1.223 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4268/1.298, allocations: 27.23 MB / 1.25 GB, free: 287 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.5, allocations: 4.906 kB / 1.25 GB, free: 287 MB / 0.9981 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