Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9721/0.9721, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.743e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6464/0.6464, allocations: 168.2 MB / 1.115 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007002/0.6534, allocations: 5.401 MB / 1.12 GB, free: 29.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.6542, allocations: 57.47 kB / 1.12 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.6554, allocations: 0.5502 MB / 1.121 GB, free: 29.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.6591, allocations: 1.959 MB / 1.123 GB, free: 27.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.6619, allocations: 1.25 MB / 1.124 GB, free: 27.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003044/0.665, allocations: 3.054 MB / 1.127 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009329/0.6659, allocations: 0.8126 MB / 1.128 GB, free: 25.51 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.6676, allocations: 1.465 MB / 1.129 GB, free: 24.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.6689, allocations: 0.9328 MB / 1.13 GB, free: 24.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.669, allocations: 121.6 kB / 1.13 GB, free: 24.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.6712, allocations: 1.223 MB / 1.131 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.6717, allocations: 0.6223 MB / 1.132 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.6722, allocations: 0.5145 MB / 1.132 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.6745, allocations: 2.376 MB / 1.135 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6745, allocations: 1.031 kB / 1.135 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6745, allocations: 0 / 1.135 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.6745, allocations: 0 / 1.135 GB, free: 22.79 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001727/0.6762, allocations: 1.575 MB / 1.136 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6763, allocations: 10.11 kB / 1.136 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.6764, allocations: 158.2 kB / 1.136 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6776, allocations: 333.2 kB / 1.137 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6787, allocations: 0.8504 MB / 1.138 GB, free: 21.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.6787, allocations: 71.14 kB / 1.138 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6788, allocations: 96.78 kB / 1.138 GB, free: 21.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6802, allocations: 1.533 MB / 1.139 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.6802, allocations: 0.7969 kB / 1.139 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.6803, allocations: 51.05 kB / 1.139 GB, free: 20.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.6803, allocations: 45.61 kB / 1.139 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.6816, allocations: 0.9853 MB / 1.14 GB, free: 19.74 MB / 0.9948 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.003699/0.6853, allocations: 2.901 MB / 1.143 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.6859, allocations: 0.5577 MB / 1.144 GB, free: 18.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.6862, allocations: 318.5 kB / 1.144 GB, free: 18.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.6864, allocations: 27.78 kB / 1.144 GB, free: 18.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6864, allocations: 46.23 kB / 1.144 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=53): time 1.613e-06/0.6864, allocations: 0 / 1.144 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55): time 0.002594/0.689, allocations: 1.918 MB / 1.146 GB, free: 17.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.689, allocations: 57.22 kB / 1.146 GB, free: 16.99 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.6898, allocations: 0.8925 MB / 1.147 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.6899, allocations: 38.58 kB / 1.147 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6901, allocations: 0.5239 MB / 1.147 GB, free: 16.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6902, allocations: 210.2 kB / 1.148 GB, free: 16.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6904, allocations: 144.3 kB / 1.148 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.6904, allocations: 333 kB / 1.148 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.6907, allocations: 289.1 kB / 1.148 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.6912, allocations: 486.6 kB / 1.149 GB, free: 15.2 MB / 0.9948 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.002431/0.6936, allocations: 1.667 MB / 1.15 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6936, allocations: 5.219 kB / 1.15 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001045/0.6946, allocations: 0.9283 MB / 1.151 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6947, allocations: 12.8 kB / 1.151 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6947, allocations: 4.281 kB / 1.151 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.6948, allocations: 96.27 kB / 1.151 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.6953, allocations: 161.2 kB / 1.152 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6972, allocations: 4.309 MB / 1.156 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.6976, allocations: 29.31 kB / 1.156 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.6977, allocations: 25.06 kB / 1.156 GB, free: 10.1 MB / 0.9948 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.6981, allocations: 352.1 kB / 1.156 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6982, allocations: 106.7 kB / 1.156 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.6983, allocations: 109.1 kB / 1.156 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6983, allocations: 5.312 kB / 1.156 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6983, allocations: 1.344 kB / 1.156 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006766/0.699, allocations: 0.7634 MB / 1.157 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.7012, allocations: 1.811 MB / 1.159 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7012, allocations: 9.188 kB / 1.159 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.7016, allocations: 148 kB / 1.159 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.26e-05/0.7016, allocations: 46.75 kB / 1.159 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.7017, allocations: 15.28 kB / 1.159 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005811/0.7022, allocations: 1.491 MB / 1.161 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7023, allocations: 7.688 kB / 1.161 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.7033, allocations: 1.203 MB / 1.162 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.7036, allocations: 181 kB / 1.162 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.7037, allocations: 17.36 kB / 1.162 GB, free: 6.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.704, allocations: 40.28 kB / 1.162 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.7041, allocations: 45.16 kB / 1.162 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.7042, allocations: 37.83 kB / 1.162 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005536/0.7047, allocations: 0.615 MB / 1.163 GB, free: 6.012 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7047, allocations: 0 / 1.163 GB, free: 6.012 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000771/0.7055, allocations: 300.9 kB / 1.163 GB, free: 5.992 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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.001556/0.7071, allocations: 1.826 MB / 1.165 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.7081, allocations: 0.9876 MB / 1.166 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7081, allocations: 2.062 kB / 1.166 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.7085, allocations: 437.1 kB / 1.166 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.7101, allocations: 0.6601 MB / 1.167 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.7177, allocations: 7.91 MB / 1.174 GB, free: 15.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.7183, allocations: 0.5764 MB / 1.175 GB, free: 15.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006556/0.7189, allocations: 252.9 kB / 1.175 GB, free: 15.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.7193, allocations: 383.5 kB / 1.176 GB, free: 15.28 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.7193, allocations: 0 / 1.176 GB, free: 15.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.7668, allocations: 33.6 MB / 1.208 GB, free: 1 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.584, allocations: 4.062 kB / 1.208 GB, free: 0.9961 MB / 1.01 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.849008610472083]