Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0007605/0.0007605, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0007993/0.0007993, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.769e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.586e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5483/0.5484, allocations: 168.2 MB / 1.164 GB, free: 10 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007872/0.5562, allocations: 5.394 MB / 1.169 GB, free: 6.336 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.5577, allocations: 57.84 kB / 1.169 GB, free: 6.305 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.5593, allocations: 0.5555 MB / 1.17 GB, free: 5.996 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004/0.5633, allocations: 1.714 MB / 1.171 GB, free: 5.043 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.5664, allocations: 1.262 MB / 1.173 GB, free: 4.387 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.5708, allocations: 2.561 MB / 1.175 GB, free: 3.199 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.572, allocations: 0.7066 MB / 1.176 GB, free: 2.855 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.5747, allocations: 1.545 MB / 1.177 GB, free: 2.164 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.5765, allocations: 0.7591 MB / 1.178 GB, free: 1.926 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.5766, allocations: 100.7 kB / 1.178 GB, free: 1.926 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.5794, allocations: 1.265 MB / 1.179 GB, free: 1.5 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.58, allocations: 0.5216 MB / 1.18 GB, free: 1.27 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.5806, allocations: 452.5 kB / 1.18 GB, free: 1.09 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.5841, allocations: 2.15 MB / 1.182 GB, free: 368 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5841, allocations: 1 kB / 1.182 GB, free: 368 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5841, allocations: 0 / 1.182 GB, free: 368 kB / 1.026 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.5841, allocations: 0 / 1.182 GB, free: 368 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002028/0.5861, allocations: 1.417 MB / 1.184 GB, free: 15.44 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5862, allocations: 10.03 kB / 1.184 GB, free: 15.44 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5863, allocations: 145.7 kB / 1.184 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5875, allocations: 331.6 kB / 1.184 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5886, allocations: 0.7398 MB / 1.185 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.5887, allocations: 65.03 kB / 1.185 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5888, allocations: 90.61 kB / 1.185 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5902, allocations: 1.47 MB / 1.187 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5902, allocations: 1.156 kB / 1.187 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.5903, allocations: 45.5 kB / 1.187 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.5903, allocations: 43.89 kB / 1.187 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5914, allocations: 0.8212 MB / 1.188 GB, free: 13.49 MB / 1.042 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.003718/0.5951, allocations: 3.25 MB / 1.191 GB, free: 11.47 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.5956, allocations: 363.3 kB / 1.191 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.5958, allocations: 200.3 kB / 1.191 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.5959, allocations: 28.66 kB / 1.191 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5959, allocations: 38.16 kB / 1.191 GB, free: 11.2 MB / 1.042 GB Notification: Performance of pre-optimization done (n=36): time 2.995e-06/0.5959, allocations: 0 / 1.191 GB, free: 11.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=38): time 0.001905/0.5978, allocations: 1.269 MB / 1.193 GB, free: 10.53 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.5978, allocations: 59.47 kB / 1.193 GB, free: 10.46 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5989, allocations: 1.015 MB / 1.194 GB, free: 10.05 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.5989, allocations: 33.14 kB / 1.194 GB, free: 10.01 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.5992, allocations: 0.4991 MB / 1.194 GB, free: 9.609 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.5993, allocations: 143.3 kB / 1.194 GB, free: 9.496 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.5995, allocations: 124.9 kB / 1.194 GB, free: 9.43 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.5995, allocations: 335.1 kB / 1.195 GB, free: 9.109 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.5999, allocations: 234.3 kB / 1.195 GB, free: 9.039 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.6003, allocations: 470.5 kB / 1.195 GB, free: 8.688 MB / 1.042 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.001588/0.6019, allocations: 1.151 MB / 1.196 GB, free: 8.121 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6019, allocations: 2.188 kB / 1.196 GB, free: 8.121 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001116/0.603, allocations: 0.7723 MB / 1.197 GB, free: 7.809 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.603, allocations: 8.031 kB / 1.197 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.603, allocations: 5.594 kB / 1.197 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.603, allocations: 11.97 kB / 1.197 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.6034, allocations: 143.1 kB / 1.197 GB, free: 7.793 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.6034, allocations: 15.19 kB / 1.197 GB, free: 7.789 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.604, allocations: 61.55 kB / 1.197 GB, free: 7.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.604, allocations: 26.69 kB / 1.197 GB, free: 7.766 MB / 1.042 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: 25 * 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 (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.0004139/0.6044, allocations: 316.4 kB / 1.198 GB, free: 7.559 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.6045, allocations: 100.8 kB / 1.198 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.6047, allocations: 103.7 kB / 1.198 GB, free: 7.449 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6047, allocations: 8.531 kB / 1.198 GB, free: 7.445 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.6047, allocations: 0 / 1.198 GB, free: 7.445 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005016/0.6052, allocations: 0.6767 MB / 1.199 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.6069, allocations: 1.436 MB / 1.2 GB, free: 6.102 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6069, allocations: 4.125 kB / 1.2 GB, free: 6.102 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.6071, allocations: 84.75 kB / 1.2 GB, free: 6.094 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.6071, allocations: 6.312 kB / 1.2 GB, free: 6.094 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.6071, allocations: 13.27 kB / 1.2 GB, free: 6.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.6071, allocations: 10.47 kB / 1.2 GB, free: 6.086 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6071, allocations: 3.625 kB / 1.2 GB, free: 6.086 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.608, allocations: 0.8323 MB / 1.201 GB, free: 5.578 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.6083, allocations: 165 kB / 1.201 GB, free: 5.473 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.6083, allocations: 14.75 kB / 1.201 GB, free: 5.465 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.6087, allocations: 31.97 kB / 1.201 GB, free: 5.453 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.6088, allocations: 42.42 kB / 1.201 GB, free: 5.426 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.6088, allocations: 27.23 kB / 1.201 GB, free: 5.418 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000767/0.6096, allocations: 0.7071 MB / 1.202 GB, free: 5.016 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6096, allocations: 0 / 1.202 GB, free: 5.016 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007512/0.6103, allocations: 267.3 kB / 1.202 GB, free: 4.984 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001243/0.6116, allocations: 1.46 MB / 1.204 GB, free: 3.84 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.6122, allocations: 495.1 kB / 1.204 GB, free: 3.617 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6122, allocations: 0 / 1.204 GB, free: 3.617 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.6124, allocations: 188 kB / 1.204 GB, free: 3.531 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.6139, allocations: 0.6143 MB / 1.205 GB, free: 3.219 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.6215, allocations: 7.559 MB / 1.212 GB, free: 14.38 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6219, allocations: 0.5028 MB / 1.213 GB, free: 14.07 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0006976/0.6226, allocations: 243 kB / 1.213 GB, free: 13.97 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.6229, allocations: 344.1 kB / 1.213 GB, free: 13.7 MB / 1.057 GB Notification: Performance of SimCode: time 1.352e-06/0.6229, allocations: 0 / 1.213 GB, free: 13.7 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.6668, allocations: 30.76 MB / 1.243 GB, free: 2.113 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.956, allocations: 64 / 1.243 GB, free: 2.113 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.914906650781631]