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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.834/2.834, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 174.5 kB / 0.4901 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.733/1.733, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 100.9 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004121, allocations: 15.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4212, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.723/5.144, allocations: 1.92 GB / 3.15 GB, free: 60.72 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/5.145, allocations: 87.95 kB / 3.15 GB, free: 60.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.7/6.845, allocations: 469.5 MB / 3.608 GB, free: 55.33 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.475e-06/6.845, allocations: 0 / 3.608 GB, free: 55.33 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001659/6.845, allocations: 28 kB / 3.608 GB, free: 55.3 MB / 1.167 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.00446/6.85, allocations: 1.388 MB / 3.61 GB, free: 53.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/6.85, allocations: 8.031 kB / 3.61 GB, free: 53.86 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005636/6.85, allocations: 143.2 kB / 3.61 GB, free: 53.71 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/6.853, allocations: 314.3 kB / 3.61 GB, free: 53.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/6.855, allocations: 0.844 MB / 3.611 GB, free: 52.51 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/6.856, allocations: 66 kB / 3.611 GB, free: 52.45 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/6.856, allocations: 84 kB / 3.611 GB, free: 52.37 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/6.858, allocations: 0.9819 MB / 3.612 GB, free: 51.37 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/6.858, allocations: 0 / 3.612 GB, free: 51.37 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/6.858, allocations: 40 kB / 3.612 GB, free: 51.33 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/6.858, allocations: 33.98 kB / 3.612 GB, free: 51.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/6.86, allocations: 0.812 MB / 3.613 GB, free: 50.48 MB / 1.167 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.006295/6.866, allocations: 3.474 MB / 3.616 GB, free: 46.79 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/6.867, allocations: 477.2 kB / 3.617 GB, free: 46.31 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/6.867, allocations: 109.5 kB / 3.617 GB, free: 46.18 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/6.867, allocations: 46.94 kB / 3.617 GB, free: 46.13 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/6.867, allocations: 0 / 3.617 GB, free: 46.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003994/6.871, allocations: 1.834 MB / 3.619 GB, free: 44.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/6.871, allocations: 55.84 kB / 3.619 GB, free: 44.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009834/6.872, allocations: 0.7074 MB / 3.619 GB, free: 43.42 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/6.872, allocations: 37.7 kB / 3.619 GB, free: 43.38 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/6.873, allocations: 483.2 kB / 3.62 GB, free: 42.89 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/6.873, allocations: 173.5 kB / 3.62 GB, free: 42.72 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/6.873, allocations: 16 kB / 3.62 GB, free: 42.71 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/6.873, allocations: 326 kB / 3.62 GB, free: 42.38 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/6.873, allocations: 241.2 kB / 3.621 GB, free: 42.15 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/6.874, allocations: 386.4 kB / 3.621 GB, free: 41.71 MB / 1.167 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.002784/6.877, allocations: 0.9795 MB / 3.622 GB, free: 40.71 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/6.877, allocations: 4 kB / 3.622 GB, free: 40.71 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001427/6.878, allocations: 0.777 MB / 3.623 GB, free: 39.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/6.878, allocations: 4 kB / 3.623 GB, free: 39.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/6.878, allocations: 4 kB / 3.623 GB, free: 39.92 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/6.878, allocations: 57.64 kB / 3.623 GB, free: 39.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/6.879, allocations: 135.8 kB / 3.623 GB, free: 39.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/6.881, allocations: 2.795 MB / 3.626 GB, free: 36.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/6.883, allocations: 63.95 kB / 3.626 GB, free: 36.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/6.883, allocations: 27.98 kB / 3.626 GB, free: 36.57 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007788/6.884, allocations: 301.6 kB / 3.626 GB, free: 36.27 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/6.884, allocations: 98.91 kB / 3.626 GB, free: 36.17 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/6.884, allocations: 96.73 kB / 3.626 GB, free: 36.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/6.884, allocations: 4 kB / 3.626 GB, free: 36.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/6.884, allocations: 0 / 3.626 GB, free: 36.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009892/6.885, allocations: 0.827 MB / 3.627 GB, free: 35.16 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/6.889, allocations: 1.724 MB / 3.629 GB, free: 33.33 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/6.889, allocations: 8.094 kB / 3.629 GB, free: 33.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/6.889, allocations: 115.8 kB / 3.629 GB, free: 33.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/6.889, allocations: 33.02 kB / 3.629 GB, free: 33.18 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/6.889, allocations: 16 kB / 3.629 GB, free: 33.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/6.89, allocations: 1.433 MB / 3.63 GB, free: 31.59 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/6.89, allocations: 4 kB / 3.63 GB, free: 31.59 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/6.892, allocations: 1.18 MB / 3.631 GB, free: 30.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/6.893, allocations: 231.9 kB / 3.632 GB, free: 30.02 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/6.893, allocations: 19.95 kB / 3.632 GB, free: 30 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/6.894, allocations: 59.95 kB / 3.632 GB, free: 29.94 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/6.894, allocations: 31.95 kB / 3.632 GB, free: 29.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-05/6.894, allocations: 35.97 kB / 3.632 GB, free: 29.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008506/6.895, allocations: 0.5575 MB / 3.632 GB, free: 29.32 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.895, allocations: 0 / 3.632 GB, free: 29.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001899/6.897, allocations: 391.9 kB / 3.633 GB, free: 28.94 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004549/6.902, allocations: 3.79 MB / 3.636 GB, free: 25.01 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001542/6.903, allocations: 0.7765 MB / 3.637 GB, free: 24.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/6.903, allocations: 7.906 kB / 3.637 GB, free: 24.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000572/6.904, allocations: 384 kB / 3.637 GB, free: 23.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/6.907, allocations: 0.5796 MB / 3.638 GB, free: 23.24 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/6.918, allocations: 7.343 MB / 3.645 GB, free: 15.66 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/6.919, allocations: 1.103 MB / 3.646 GB, free: 14.52 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001194/6.92, allocations: 207.7 kB / 3.646 GB, free: 14.32 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/6.92, allocations: 359.3 kB / 3.647 GB, free: 13.96 MB / 1.167 GB Notification: Performance of SimCode: time 1.587e-05/6.92, allocations: 0 / 3.647 GB, free: 13.96 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8258/7.746, allocations: 45.99 MB / 3.692 GB, free: 306 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/7.746, allocations: 277.7 kB / 3.692 GB, free: 305.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/11.61, allocations: 2.391 kB / 3.692 GB, free: 305.6 MB / 1.167 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat does not exist to compare? outputFormat=mat