Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_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.001144/0.001144, 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.001362/0.001362, allocations: 192.9 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.388/1.388, 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 11.0.1-master/package.mo): time 2.734/2.734, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.5 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7076/0.9799, allocations: 221.1 MB / 1.28 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008374/0.9883, allocations: 5.736 MB / 1.285 GB, free: 19.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.9896, allocations: 42.5 kB / 1.285 GB, free: 19.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.991, allocations: 0.5763 MB / 1.286 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.995, allocations: 1.842 MB / 1.288 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.9978, allocations: 1.174 MB / 1.289 GB, free: 19.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003993/1.002, allocations: 2.95 MB / 1.292 GB, free: 19.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/1.003, allocations: 1.027 MB / 1.293 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/1.005, allocations: 1.07 MB / 1.294 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/1.007, allocations: 0.9444 MB / 1.295 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.007, allocations: 108.8 kB / 1.295 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/1.01, allocations: 1.428 MB / 1.296 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/1.011, allocations: 466.6 kB / 1.297 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007613/1.011, allocations: 0.6525 MB / 1.297 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/1.014, allocations: 2.11 MB / 1.299 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.014, allocations: 1.078 kB / 1.299 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.014, allocations: 0.9375 kB / 1.299 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.856e-05/1.014, allocations: 0 / 1.299 GB, free: 18.8 MB / 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.002282/1.017, allocations: 1.507 MB / 1.301 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.017, allocations: 9.125 kB / 1.301 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/1.017, allocations: 148.7 kB / 1.301 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.019, allocations: 317.5 kB / 1.301 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.02, allocations: 0.8045 MB / 1.302 GB, free: 17.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/1.02, allocations: 69 kB / 1.302 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.02, allocations: 91.31 kB / 1.302 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/1.022, allocations: 0.9205 MB / 1.303 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.022, allocations: 0.875 kB / 1.303 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/1.022, allocations: 38.22 kB / 1.303 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/1.022, allocations: 31.88 kB / 1.303 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.023, allocations: 0.8377 MB / 1.304 GB, free: 17.52 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.00507/1.028, allocations: 3.554 MB / 1.307 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/1.029, allocations: 493.9 kB / 1.308 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/1.03, allocations: 304.2 kB / 1.308 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/1.03, allocations: 101.2 kB / 1.308 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.03, allocations: 39.62 kB / 1.308 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.056e-06/1.03, allocations: 1.344 kB / 1.308 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.003937/1.034, allocations: 1.871 MB / 1.31 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/1.034, allocations: 57 kB / 1.31 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.035, allocations: 0.8108 MB / 1.311 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.035, allocations: 40.91 kB / 1.311 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/1.035, allocations: 474.2 kB / 1.311 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.036, allocations: 175.3 kB / 1.312 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/1.036, allocations: 118.8 kB / 1.312 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/1.036, allocations: 328.2 kB / 1.312 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/1.036, allocations: 246.5 kB / 1.312 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/1.037, allocations: 388.3 kB / 1.313 GB, free: 14.36 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.003612/1.04, allocations: 1.543 MB / 1.314 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.04, allocations: 1.281 kB / 1.314 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001209/1.042, allocations: 0.7909 MB / 1.315 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.042, allocations: 9.453 kB / 1.315 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.042, allocations: 2.75 kB / 1.315 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/1.042, allocations: 66.47 kB / 1.315 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/1.043, allocations: 157.2 kB / 1.315 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/1.044, allocations: 3.127 MB / 1.318 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/1.045, allocations: 31.81 kB / 1.318 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/1.045, allocations: 21.77 kB / 1.318 GB, free: 11.31 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.0004367/1.046, allocations: 300.2 kB / 1.318 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/1.046, allocations: 97.48 kB / 1.319 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.046, allocations: 99.88 kB / 1.319 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/1.046, allocations: 10.41 kB / 1.319 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.046, allocations: 0.9688 kB / 1.319 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009335/1.047, allocations: 0.8337 MB / 1.32 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.05, allocations: 1.794 MB / 1.321 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.05, allocations: 2.781 kB / 1.321 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/1.05, allocations: 131.6 kB / 1.321 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.024e-05/1.05, allocations: 41.48 kB / 1.321 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/1.05, allocations: 18.31 kB / 1.321 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/1.051, allocations: 1.586 MB / 1.323 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.051, allocations: 11.03 kB / 1.323 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.053, allocations: 1.068 MB / 1.324 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/1.053, allocations: 241.5 kB / 1.324 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.053, allocations: 16.28 kB / 1.324 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/1.054, allocations: 41.69 kB / 1.324 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.054, allocations: 43.17 kB / 1.324 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/1.054, allocations: 28.72 kB / 1.324 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006423/1.055, allocations: 0.562 MB / 1.325 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.055, allocations: 0.7812 kB / 1.325 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008667/1.056, allocations: 273.2 kB / 1.325 GB, free: 8.34 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.001781/1.057, allocations: 1.717 MB / 1.327 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.059, allocations: 0.8638 MB / 1.328 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.059, allocations: 0 / 1.328 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/1.059, allocations: 408 kB / 1.328 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.062, allocations: 0.5932 MB / 1.329 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008263/1.07, allocations: 7.316 MB / 1.336 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/1.071, allocations: 1.087 MB / 1.337 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009292/1.072, allocations: 222 kB / 1.337 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/1.072, allocations: 346.8 kB / 1.337 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.072, allocations: 0 / 1.337 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/1.124, allocations: 27.23 MB / 1.364 GB, free: 9.828 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.44, allocations: 14.91 kB / 1.364 GB, free: 9.816 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches