Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0007972/0.0007972, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008144/0.0008144, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.705/1.705, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.365e-05, allocations: 10.16 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5604/0.5604, allocations: 165.5 MB / 1.143 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.5719, allocations: 11.98 MB / 1.154 GB, free: 9.242 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.5727, allocations: 45.03 kB / 1.154 GB, free: 9.219 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5738, allocations: 433.9 kB / 1.155 GB, free: 8.961 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.576, allocations: 1.23 MB / 1.156 GB, free: 8.266 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.5773, allocations: 0.7743 MB / 1.157 GB, free: 7.859 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.5795, allocations: 2.043 MB / 1.159 GB, free: 6.902 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.5803, allocations: 0.61 MB / 1.159 GB, free: 6.605 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5838, allocations: 2.235 MB / 1.161 GB, free: 5.594 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.585, allocations: 0.5981 MB / 1.162 GB, free: 5.406 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.5851, allocations: 81.09 kB / 1.162 GB, free: 5.406 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5863, allocations: 0.7404 MB / 1.163 GB, free: 5.145 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.5867, allocations: 413 kB / 1.163 GB, free: 4.965 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.587, allocations: 349 kB / 1.164 GB, free: 4.824 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.5885, allocations: 1.52 MB / 1.165 GB, free: 4.277 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5885, allocations: 0 / 1.165 GB, free: 4.277 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5885, allocations: 4.906 kB / 1.165 GB, free: 4.277 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.5885, allocations: 0 / 1.165 GB, free: 4.277 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001337/0.5899, allocations: 1.172 MB / 1.166 GB, free: 3.484 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5899, allocations: 13.56 kB / 1.166 GB, free: 3.48 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.59, allocations: 123.5 kB / 1.166 GB, free: 3.395 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006846/0.5907, allocations: 218.4 kB / 1.167 GB, free: 3.328 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.5915, allocations: 0.615 MB / 1.167 GB, free: 2.953 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.5915, allocations: 59.19 kB / 1.167 GB, free: 2.926 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.5916, allocations: 79.97 kB / 1.167 GB, free: 2.898 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5926, allocations: 1.059 MB / 1.168 GB, free: 2.227 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5926, allocations: 6.562 kB / 1.168 GB, free: 2.223 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.5927, allocations: 36.16 kB / 1.168 GB, free: 2.195 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.5927, allocations: 29.73 kB / 1.168 GB, free: 2.195 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.5935, allocations: 0.6205 MB / 1.169 GB, free: 1.98 MB / 1.01 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.002781/0.5962, allocations: 3.719 MB / 1.173 GB, free: 15.07 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.5968, allocations: 461.8 kB / 1.173 GB, free: 14.84 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.5971, allocations: 239.8 kB / 1.173 GB, free: 14.74 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.5972, allocations: 20.33 kB / 1.173 GB, free: 14.74 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5972, allocations: 43.59 kB / 1.173 GB, free: 14.7 MB / 1.026 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.5972, allocations: 0 / 1.173 GB, free: 14.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=45): time 0.00189/0.5991, allocations: 1.549 MB / 1.175 GB, free: 13.82 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.5991, allocations: 109.5 kB / 1.175 GB, free: 13.7 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.5998, allocations: 0.7285 MB / 1.176 GB, free: 13.38 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5998, allocations: 36.86 kB / 1.176 GB, free: 13.34 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.6, allocations: 418.6 kB / 1.176 GB, free: 13.02 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.6001, allocations: 167.9 kB / 1.176 GB, free: 12.88 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.6002, allocations: 111.3 kB / 1.176 GB, free: 12.82 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.6003, allocations: 332.8 kB / 1.177 GB, free: 12.51 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.6005, allocations: 193.8 kB / 1.177 GB, free: 12.44 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.6009, allocations: 0.5575 MB / 1.177 GB, free: 11.92 MB / 1.026 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.6024, allocations: 1.102 MB / 1.179 GB, free: 11.34 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6024, allocations: 4.562 kB / 1.179 GB, free: 11.34 MB / 1.026 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007237/0.6031, allocations: 0.6745 MB / 1.179 GB, free: 11.05 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6032, allocations: 15.28 kB / 1.179 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6032, allocations: 5.25 kB / 1.179 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6032, allocations: 14.44 kB / 1.179 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.6035, allocations: 122.3 kB / 1.179 GB, free: 11.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6035, allocations: 20.47 kB / 1.179 GB, free: 11.03 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.6037, allocations: 28.64 kB / 1.179 GB, free: 11.02 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.6038, allocations: 27.66 kB / 1.179 GB, free: 11.01 MB / 1.026 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.604, allocations: 278.5 kB / 1.18 GB, free: 10.82 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.843e-05/0.6041, allocations: 83.17 kB / 1.18 GB, free: 10.77 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.6042, allocations: 94.12 kB / 1.18 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6042, allocations: 11.38 kB / 1.18 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6042, allocations: 1.594 kB / 1.18 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005005/0.6047, allocations: 0.6991 MB / 1.181 GB, free: 10.14 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.6063, allocations: 1.521 MB / 1.182 GB, free: 9.215 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6063, allocations: 6.531 kB / 1.182 GB, free: 9.215 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.6065, allocations: 101.3 kB / 1.182 GB, free: 9.203 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6065, allocations: 6 kB / 1.182 GB, free: 9.203 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.6066, allocations: 14.88 kB / 1.182 GB, free: 9.199 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.6066, allocations: 10.22 kB / 1.182 GB, free: 9.195 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6066, allocations: 4.406 kB / 1.182 GB, free: 9.195 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.6073, allocations: 0.8765 MB / 1.183 GB, free: 8.656 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.6075, allocations: 125.6 kB / 1.183 GB, free: 8.59 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.6076, allocations: 22.25 kB / 1.183 GB, free: 8.582 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.6078, allocations: 19.06 kB / 1.183 GB, free: 8.574 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6078, allocations: 40.69 kB / 1.183 GB, free: 8.562 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.6079, allocations: 16.58 kB / 1.183 GB, free: 8.562 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004388/0.6083, allocations: 0.515 MB / 1.184 GB, free: 8.348 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6083, allocations: 0 / 1.184 GB, free: 8.348 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000492/0.6088, allocations: 207.2 kB / 1.184 GB, free: 8.324 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.6099, allocations: 1.485 MB / 1.185 GB, free: 7.25 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.6104, allocations: 458.5 kB / 1.186 GB, free: 7.102 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6104, allocations: 1.125 kB / 1.186 GB, free: 7.102 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.6106, allocations: 203.9 kB / 1.186 GB, free: 7.035 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6117, allocations: 474.9 kB / 1.186 GB, free: 6.906 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/0.6176, allocations: 6.571 MB / 1.193 GB, free: 3.141 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6179, allocations: 439.7 kB / 1.193 GB, free: 3.008 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004103/0.6183, allocations: 197.9 kB / 1.194 GB, free: 2.969 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.6186, allocations: 301.5 kB / 1.194 GB, free: 2.746 MB / 1.026 GB Notification: Performance of SimCode: time 5.31e-07/0.6186, allocations: 0 / 1.194 GB, free: 2.746 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.6519, allocations: 24.63 MB / 1.218 GB, free: 7.238 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.513, allocations: 8.047 kB / 1.218 GB, free: 7.23 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 11.506227135658264]