Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000834/0.000834, 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.001234/0.001234, allocations: 169.9 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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.711/1.711, allocations: 359 MB / 0.6037 GB, free: 11.09 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9505 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.148e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6733/0.6733, allocations: 168.1 MB / 1.115 GB, free: 2.746 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007534/0.6809, allocations: 5.388 MB / 1.12 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009415/0.6818, allocations: 57.97 kB / 1.12 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.683, allocations: 0.5574 MB / 1.121 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.6859, allocations: 1.719 MB / 1.122 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.6882, allocations: 1.268 MB / 1.123 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.6905, allocations: 2.581 MB / 1.126 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008013/0.6913, allocations: 0.7181 MB / 1.127 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.6929, allocations: 1.376 MB / 1.128 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.6943, allocations: 0.7797 MB / 1.129 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.6944, allocations: 100.7 kB / 1.129 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.6962, allocations: 1.276 MB / 1.13 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.6966, allocations: 0.5231 MB / 1.131 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.697, allocations: 453.5 kB / 1.131 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.6992, allocations: 2.144 MB / 1.133 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6992, allocations: 0 / 1.133 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6992, allocations: 2.062 kB / 1.133 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.006e-05/0.6992, allocations: 0 / 1.133 GB, free: 5.785 MB / 0.9636 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.001747/0.701, allocations: 1.427 MB / 1.135 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.701, allocations: 12.28 kB / 1.135 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.7011, allocations: 137.8 kB / 1.135 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.7022, allocations: 342.6 kB / 1.135 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.7031, allocations: 0.7362 MB / 1.136 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.7031, allocations: 68.8 kB / 1.136 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.7032, allocations: 79.88 kB / 1.136 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7045, allocations: 1.472 MB / 1.137 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.7045, allocations: 10.73 kB / 1.137 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.7046, allocations: 46.38 kB / 1.137 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.7046, allocations: 35.33 kB / 1.137 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.7055, allocations: 0.8195 MB / 1.138 GB, free: 2.246 MB / 0.9636 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.003213/0.7087, allocations: 3.259 MB / 1.141 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.7091, allocations: 358.7 kB / 1.142 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7093, allocations: 198.2 kB / 1.142 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.7094, allocations: 27.94 kB / 1.142 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7095, allocations: 36.81 kB / 1.142 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.7095, allocations: 2.594 kB / 1.142 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of matching and sorting (n=38): time 0.001587/0.711, allocations: 1.272 MB / 1.143 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.7111, allocations: 58.28 kB / 1.143 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.7119, allocations: 1.015 MB / 1.144 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.712, allocations: 39.27 kB / 1.144 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.7124, allocations: 0.4944 MB / 1.145 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.7125, allocations: 142.1 kB / 1.145 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.7126, allocations: 120.6 kB / 1.145 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.7127, allocations: 337.7 kB / 1.145 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.713, allocations: 232.8 kB / 1.146 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.7134, allocations: 474.1 kB / 1.146 GB, free: 12.54 MB / 0.9792 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.001434/0.7148, allocations: 1.14 MB / 1.147 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7148, allocations: 2.812 kB / 1.147 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008421/0.7156, allocations: 0.7734 MB / 1.148 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7157, allocations: 12.44 kB / 1.148 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.7157, allocations: 4.875 kB / 1.148 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.7157, allocations: 8.312 kB / 1.148 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.716, allocations: 144.9 kB / 1.148 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.716, allocations: 16.34 kB / 1.148 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.7164, allocations: 60.47 kB / 1.148 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7164, allocations: 23.41 kB / 1.148 GB, free: 11.36 MB / 0.9792 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.0002742/0.7167, allocations: 315.3 kB / 1.148 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.7168, allocations: 105.8 kB / 1.149 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.7169, allocations: 102.2 kB / 1.149 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7169, allocations: 11.94 kB / 1.149 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7169, allocations: 3.938 kB / 1.149 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004754/0.7174, allocations: 0.6827 MB / 1.149 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.7189, allocations: 1.428 MB / 1.151 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7189, allocations: 5.188 kB / 1.151 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.7191, allocations: 83.89 kB / 1.151 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.7191, allocations: 7.938 kB / 1.151 GB, free: 8.586 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.7191, allocations: 16 kB / 1.151 GB, free: 8.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.7191, allocations: 4 kB / 1.151 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7191, allocations: 4 kB / 1.151 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.7199, allocations: 0.8349 MB / 1.152 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.7201, allocations: 163.3 kB / 1.152 GB, free: 7.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.7202, allocations: 15.98 kB / 1.152 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.7205, allocations: 40.53 kB / 1.152 GB, free: 7.449 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.7205, allocations: 35.83 kB / 1.152 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.7206, allocations: 27.98 kB / 1.152 GB, free: 7.387 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000646/0.7212, allocations: 0.7077 MB / 1.153 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.7212, allocations: 0 / 1.153 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007354/0.7219, allocations: 259.8 kB / 1.153 GB, free: 6.414 MB / 0.9792 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.001183/0.7231, allocations: 1.466 MB / 1.154 GB, free: 4.875 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.7237, allocations: 0.4885 MB / 1.155 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7237, allocations: 0 / 1.155 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.7239, allocations: 187.7 kB / 1.155 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.7254, allocations: 0.615 MB / 1.156 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.7331, allocations: 7.566 MB / 1.163 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.7334, allocations: 0.5002 MB / 1.163 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005905/0.734, allocations: 244.4 kB / 1.164 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.7343, allocations: 348.4 kB / 1.164 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/0.7343, allocations: 0 / 1.164 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.784, allocations: 30.88 MB / 1.194 GB, free: 12.34 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.609, allocations: 10.83 kB / 1.194 GB, free: 12.34 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.748785519041121]