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.001721/0.001721, allocations: 108 kB / 15.6 MB, free: 132 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.002105/0.002105, allocations: 195 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.517/2.517, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002404, allocations: 71.89 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5732, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2159/0.789, allocations: 221.1 MB / 1.233 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.7977, allocations: 5.717 MB / 1.239 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.7989, allocations: 43.75 kB / 1.239 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.8004, allocations: 0.5786 MB / 1.24 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.8045, allocations: 1.847 MB / 1.241 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.8072, allocations: 1.171 MB / 1.242 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.8105, allocations: 2.949 MB / 1.245 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.8119, allocations: 1.031 MB / 1.246 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.8136, allocations: 1.051 MB / 1.247 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.8155, allocations: 0.961 MB / 1.248 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.8158, allocations: 108 kB / 1.248 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.8184, allocations: 1.426 MB / 1.25 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.8189, allocations: 454.8 kB / 1.25 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.8196, allocations: 0.6573 MB / 1.251 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.8221, allocations: 2.107 MB / 1.253 GB, free: 388 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8222, allocations: 0 / 1.253 GB, free: 388 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8222, allocations: 3.938 kB / 1.253 GB, free: 384 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.8222, allocations: 4 kB / 1.253 GB, free: 380 kB / 0.9981 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.3842/1.206, allocations: 1.499 MB / 1.254 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.206, allocations: 14.23 kB / 1.254 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/1.207, allocations: 142.9 kB / 1.255 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.209, allocations: 317.3 kB / 1.255 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.21, allocations: 0.8069 MB / 1.256 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/1.21, allocations: 64.72 kB / 1.256 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.21, allocations: 85.78 kB / 1.256 GB, free: 237 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.212, allocations: 0.9233 MB / 1.257 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.212, allocations: 4.75 kB / 1.257 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/1.212, allocations: 45.55 kB / 1.257 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/1.212, allocations: 31.81 kB / 1.257 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/1.213, allocations: 0.8321 MB / 1.258 GB, free: 236.4 MB / 0.9981 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.005193/1.219, allocations: 3.541 MB / 1.261 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/1.219, allocations: 499 kB / 1.262 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/1.22, allocations: 300.1 kB / 1.262 GB, free: 234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/1.22, allocations: 104.5 kB / 1.262 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.22, allocations: 45.56 kB / 1.262 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/1.22, allocations: 0 / 1.262 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.003539/1.224, allocations: 1.872 MB / 1.264 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.224, allocations: 58.34 kB / 1.264 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.225, allocations: 0.8032 MB / 1.265 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/1.225, allocations: 39.03 kB / 1.265 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/1.225, allocations: 477.4 kB / 1.265 GB, free: 232 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.225, allocations: 174.3 kB / 1.265 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.225, allocations: 125.2 kB / 1.265 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/1.225, allocations: 334.4 kB / 1.266 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/1.226, allocations: 247.7 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/1.227, allocations: 380.8 kB / 1.266 GB, free: 231.2 MB / 0.9981 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.004138/1.231, allocations: 1.555 MB / 1.268 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.231, allocations: 1.125 kB / 1.268 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/1.232, allocations: 0.7901 MB / 1.269 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.232, allocations: 9.719 kB / 1.269 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.232, allocations: 3.391 kB / 1.269 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/1.232, allocations: 69.66 kB / 1.269 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/1.233, allocations: 147.8 kB / 1.269 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.235, allocations: 3.125 MB / 1.272 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/1.236, allocations: 29.08 kB / 1.272 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/1.236, allocations: 29.61 kB / 1.272 GB, free: 227.2 MB / 0.9981 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.0004392/1.236, allocations: 300.7 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.236, allocations: 94.06 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.237, allocations: 100.4 kB / 1.272 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.237, allocations: 5.688 kB / 1.272 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.237, allocations: 0 / 1.272 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009589/1.238, allocations: 0.8425 MB / 1.273 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/1.24, allocations: 1.789 MB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.24, allocations: 3.438 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/1.241, allocations: 129.3 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.05e-05/1.241, allocations: 38.95 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/1.241, allocations: 15.81 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009344/1.242, allocations: 1.602 MB / 1.277 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.242, allocations: 7.75 kB / 1.277 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/1.244, allocations: 1.063 MB / 1.278 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/1.244, allocations: 242.9 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.244, allocations: 15.33 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/1.245, allocations: 27.36 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.245, allocations: 54.16 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/1.245, allocations: 27.47 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006731/1.246, allocations: 0.5617 MB / 1.279 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.246, allocations: 5.219 kB / 1.279 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008783/1.246, allocations: 275.7 kB / 1.279 GB, free: 222.8 MB / 0.9981 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.001826/1.248, allocations: 1.697 MB / 1.281 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.25, allocations: 0.8653 MB / 1.281 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.25, allocations: 2.188 kB / 1.281 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/1.25, allocations: 410.6 kB / 1.282 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.253, allocations: 0.6118 MB / 1.282 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/1.26, allocations: 7.317 MB / 1.29 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/1.261, allocations: 1.091 MB / 1.291 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008317/1.262, allocations: 211.7 kB / 1.291 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.262, allocations: 343.3 kB / 1.291 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.262, allocations: 0 / 1.291 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/1.308, allocations: 27.23 MB / 1.318 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.59, allocations: 7.625 kB / 1.318 GB, free: 187.6 MB / 0.9981 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