Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007471/0.0007471, 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.0007683/0.0007683, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8489/0.8489, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.9 MB / 0.6221 GB, free: 8.641 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.828e-06/1.112e-05, allocations: 2.281 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5646/0.5646, allocations: 168.2 MB / 1.145 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008126/0.5727, allocations: 5.412 MB / 1.15 GB, free: 11.66 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.5742, allocations: 53.47 kB / 1.151 GB, free: 11.63 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.5756, allocations: 0.5562 MB / 1.151 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.5797, allocations: 1.715 MB / 1.153 GB, free: 10.37 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.5827, allocations: 1.264 MB / 1.154 GB, free: 9.711 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.5865, allocations: 2.579 MB / 1.156 GB, free: 8.504 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.5878, allocations: 0.7075 MB / 1.157 GB, free: 8.164 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.5912, allocations: 1.551 MB / 1.159 GB, free: 7.473 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.5932, allocations: 0.7665 MB / 1.159 GB, free: 7.234 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.5934, allocations: 100.7 kB / 1.16 GB, free: 7.234 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.596, allocations: 1.269 MB / 1.161 GB, free: 6.805 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.5966, allocations: 0.5216 MB / 1.161 GB, free: 6.574 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.5975, allocations: 451.8 kB / 1.162 GB, free: 6.395 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.6012, allocations: 2.148 MB / 1.164 GB, free: 5.664 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6012, allocations: 1.156 kB / 1.164 GB, free: 5.664 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6012, allocations: 0 / 1.164 GB, free: 5.664 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.54e-05/0.6012, allocations: 0 / 1.164 GB, free: 5.664 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002552/0.6038, allocations: 1.426 MB / 1.165 GB, free: 4.738 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.6038, allocations: 8.312 kB / 1.165 GB, free: 4.738 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.604, allocations: 137.9 kB / 1.165 GB, free: 4.648 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6053, allocations: 332.5 kB / 1.166 GB, free: 4.566 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6065, allocations: 0.7543 MB / 1.166 GB, free: 4.121 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.6065, allocations: 68.81 kB / 1.166 GB, free: 4.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6066, allocations: 84.36 kB / 1.167 GB, free: 4.062 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.6083, allocations: 1.47 MB / 1.168 GB, free: 3.102 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6083, allocations: 5.094 kB / 1.168 GB, free: 3.098 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.6084, allocations: 38.31 kB / 1.168 GB, free: 3.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.6084, allocations: 37.84 kB / 1.168 GB, free: 3.066 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.6097, allocations: 0.8299 MB / 1.169 GB, free: 2.797 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.004042/0.6137, allocations: 3.252 MB / 1.172 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.6142, allocations: 352.7 kB / 1.172 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.6144, allocations: 212 kB / 1.173 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.6145, allocations: 21 kB / 1.173 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6145, allocations: 46.12 kB / 1.173 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 2.985e-06/0.6146, allocations: 0 / 1.173 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.002015/0.6166, allocations: 1.277 MB / 1.174 GB, free: 15.82 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6166, allocations: 56.98 kB / 1.174 GB, free: 15.76 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6177, allocations: 1.016 MB / 1.175 GB, free: 15.35 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.6177, allocations: 37.36 kB / 1.175 GB, free: 15.31 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.618, allocations: 0.4961 MB / 1.175 GB, free: 14.91 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6181, allocations: 143.5 kB / 1.176 GB, free: 14.8 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.6182, allocations: 124.2 kB / 1.176 GB, free: 14.73 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.6183, allocations: 332.1 kB / 1.176 GB, free: 14.42 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6186, allocations: 235.2 kB / 1.176 GB, free: 14.35 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.619, allocations: 472 kB / 1.177 GB, free: 13.99 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.6206, allocations: 1.138 MB / 1.178 GB, free: 13.44 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6206, allocations: 1.281 kB / 1.178 GB, free: 13.44 MB / 1.026 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000953/0.6216, allocations: 0.7838 MB / 1.179 GB, free: 13.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6216, allocations: 7.031 kB / 1.179 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6216, allocations: 6.438 kB / 1.179 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6216, allocations: 8.75 kB / 1.179 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.622, allocations: 143.1 kB / 1.179 GB, free: 13.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.622, allocations: 16.53 kB / 1.179 GB, free: 13.09 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.6226, allocations: 59.8 kB / 1.179 GB, free: 13.08 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.6227, allocations: 25.66 kB / 1.179 GB, free: 13.07 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: 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.0004964/0.6232, allocations: 312.8 kB / 1.179 GB, free: 12.87 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6233, allocations: 101.1 kB / 1.179 GB, free: 12.82 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.6234, allocations: 105 kB / 1.179 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6234, allocations: 7.297 kB / 1.179 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.6234, allocations: 5.125 kB / 1.179 GB, free: 12.75 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005/0.6239, allocations: 0.6832 MB / 1.18 GB, free: 12.2 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.6257, allocations: 1.424 MB / 1.181 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6257, allocations: 2.844 kB / 1.181 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.626, allocations: 90.8 kB / 1.181 GB, free: 11.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.626, allocations: 7.703 kB / 1.182 GB, free: 11.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.626, allocations: 11.56 kB / 1.182 GB, free: 11.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.626, allocations: 6.438 kB / 1.182 GB, free: 11.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.626, allocations: 8.844 kB / 1.182 GB, free: 11.39 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.6268, allocations: 0.8408 MB / 1.182 GB, free: 10.88 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.6271, allocations: 163.8 kB / 1.183 GB, free: 10.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.6272, allocations: 17.59 kB / 1.183 GB, free: 10.79 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.6276, allocations: 39.75 kB / 1.183 GB, free: 10.78 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.6276, allocations: 35.7 kB / 1.183 GB, free: 10.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.6277, allocations: 31.2 kB / 1.183 GB, free: 10.76 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0007848/0.6284, allocations: 0.7125 MB / 1.183 GB, free: 10.46 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6284, allocations: 0 / 1.183 GB, free: 10.46 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000767/0.6292, allocations: 256.7 kB / 1.184 GB, free: 10.45 MB / 1.026 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.001283/0.6305, allocations: 1.453 MB / 1.185 GB, free: 9.379 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000697/0.6312, allocations: 499.1 kB / 1.185 GB, free: 9.215 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.6312, allocations: 2.156 kB / 1.185 GB, free: 9.215 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.6314, allocations: 189 kB / 1.186 GB, free: 9.148 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.6331, allocations: 0.6187 MB / 1.186 GB, free: 8.973 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/0.6415, allocations: 7.563 MB / 1.194 GB, free: 4.957 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.6418, allocations: 0.5067 MB / 1.194 GB, free: 4.797 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0007933/0.6426, allocations: 248.3 kB / 1.194 GB, free: 4.746 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.643, allocations: 347.5 kB / 1.195 GB, free: 4.496 MB / 1.026 GB Notification: Performance of SimCode: time 1.472e-06/0.643, allocations: 0 / 1.195 GB, free: 4.496 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.687, allocations: 30.89 MB / 1.225 GB, free: 152 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.866, allocations: 6.844 kB / 1.225 GB, free: 148 kB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.788535960949957]