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.001384/0.001384, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001549/0.001549, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 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 2.872/2.872, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 69.14 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2838, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2022/0.486, allocations: 194.3 MB / 1.535 GB, free: 13.35 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009208/0.4952, allocations: 5.751 MB / 1.541 GB, free: 7.586 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.4966, allocations: 55.56 kB / 1.541 GB, free: 7.531 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.4982, allocations: 0.5942 MB / 1.541 GB, free: 6.934 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.5025, allocations: 1.704 MB / 1.543 GB, free: 5.223 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.5057, allocations: 1.247 MB / 1.544 GB, free: 3.984 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.5093, allocations: 2.58 MB / 1.547 GB, free: 1.391 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.5105, allocations: 0.7122 MB / 1.547 GB, free: 0.6602 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.5128, allocations: 1.246 MB / 1.549 GB, free: 15.41 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.5148, allocations: 0.8735 MB / 1.55 GB, free: 14.54 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.5151, allocations: 100 kB / 1.55 GB, free: 14.44 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.5184, allocations: 1.614 MB / 1.551 GB, free: 12.82 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007305/0.5191, allocations: 498.6 kB / 1.552 GB, free: 12.34 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009664/0.52, allocations: 0.6261 MB / 1.552 GB, free: 11.71 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.5235, allocations: 2.114 MB / 1.554 GB, free: 9.586 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5235, allocations: 0 / 1.554 GB, free: 9.586 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5235, allocations: 4 kB / 1.554 GB, free: 9.582 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.909e-05/0.5235, allocations: 0 / 1.554 GB, free: 9.582 MB / 1.248 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.002619/0.5261, allocations: 1.434 MB / 1.556 GB, free: 8.113 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5262, allocations: 15.97 kB / 1.556 GB, free: 8.098 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.469e-05/0.5262, allocations: 30 kB / 1.556 GB, free: 8.066 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.5264, allocations: 135.2 kB / 1.556 GB, free: 7.926 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.5283, allocations: 338.9 kB / 1.556 GB, free: 7.594 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.5297, allocations: 0.7401 MB / 1.557 GB, free: 6.828 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.5297, allocations: 65.94 kB / 1.557 GB, free: 6.762 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.5299, allocations: 99.88 kB / 1.557 GB, free: 6.664 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.5316, allocations: 1.067 MB / 1.558 GB, free: 5.559 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5316, allocations: 0 / 1.558 GB, free: 5.559 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.5317, allocations: 43.98 kB / 1.558 GB, free: 5.516 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.5318, allocations: 33.98 kB / 1.558 GB, free: 5.48 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.5333, allocations: 0.8313 MB / 1.559 GB, free: 4.652 MB / 1.248 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.00542/0.5387, allocations: 4.359 MB / 1.563 GB, free: 15.99 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.5393, allocations: 350.7 kB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.5396, allocations: 211.9 kB / 1.564 GB, free: 15.43 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.5397, allocations: 19.98 kB / 1.564 GB, free: 15.41 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5397, allocations: 42.5 kB / 1.564 GB, free: 15.36 MB / 1.264 GB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.5397, allocations: 0 / 1.564 GB, free: 15.36 MB / 1.264 GB Notification: Performance of matching and sorting (n=38): time 0.002484/0.5422, allocations: 1.274 MB / 1.565 GB, free: 14.05 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5423, allocations: 55.41 kB / 1.565 GB, free: 13.98 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5436, allocations: 0.9967 MB / 1.566 GB, free: 12.96 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.5437, allocations: 37.7 kB / 1.566 GB, free: 12.92 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.5441, allocations: 0.4963 MB / 1.567 GB, free: 12.42 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5442, allocations: 150.8 kB / 1.567 GB, free: 12.27 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.5444, allocations: 122.2 kB / 1.567 GB, free: 12.15 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5446, allocations: 326 kB / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.5451, allocations: 237.2 kB / 1.568 GB, free: 11.59 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.5457, allocations: 423.8 kB / 1.568 GB, free: 11.1 MB / 1.264 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.002392/0.5481, allocations: 1.15 MB / 1.569 GB, free: 9.871 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5481, allocations: 3.938 kB / 1.569 GB, free: 9.867 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001357/0.5494, allocations: 0.7659 MB / 1.57 GB, free: 9.094 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5494, allocations: 11.94 kB / 1.57 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5495, allocations: 8 kB / 1.57 GB, free: 9.074 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5495, allocations: 8 kB / 1.57 GB, free: 9.066 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.55, allocations: 139.8 kB / 1.57 GB, free: 8.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.55, allocations: 11.94 kB / 1.57 GB, free: 8.918 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.5508, allocations: 56.23 kB / 1.57 GB, free: 8.863 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.5509, allocations: 35.97 kB / 1.57 GB, free: 8.828 MB / 1.264 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.000417/0.5513, allocations: 310.9 kB / 1.57 GB, free: 8.516 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5515, allocations: 115.3 kB / 1.57 GB, free: 8.402 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.5516, allocations: 101 kB / 1.571 GB, free: 8.301 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5516, allocations: 7.938 kB / 1.571 GB, free: 8.293 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5517, allocations: 4 kB / 1.571 GB, free: 8.289 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007068/0.5524, allocations: 0.6828 MB / 1.571 GB, free: 7.52 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.5547, allocations: 1.563 MB / 1.573 GB, free: 5.859 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5547, allocations: 4 kB / 1.573 GB, free: 5.855 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.5551, allocations: 83.89 kB / 1.573 GB, free: 5.773 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.5551, allocations: 4 kB / 1.573 GB, free: 5.77 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.5551, allocations: 19.94 kB / 1.573 GB, free: 5.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.5552, allocations: 7.938 kB / 1.573 GB, free: 5.742 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5552, allocations: 7.938 kB / 1.573 GB, free: 5.734 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.5562, allocations: 0.8262 MB / 1.574 GB, free: 4.844 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.5566, allocations: 175.2 kB / 1.574 GB, free: 4.672 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5567, allocations: 15.98 kB / 1.574 GB, free: 4.656 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000612/0.5573, allocations: 35.97 kB / 1.574 GB, free: 4.621 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.5574, allocations: 39.83 kB / 1.574 GB, free: 4.582 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.5574, allocations: 23.98 kB / 1.574 GB, free: 4.559 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009815/0.5584, allocations: 0.7077 MB / 1.575 GB, free: 3.84 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5584, allocations: 0 / 1.575 GB, free: 3.84 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007414/0.5591, allocations: 255.9 kB / 1.575 GB, free: 3.59 MB / 1.264 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.001524/0.5607, allocations: 1.477 MB / 1.576 GB, free: 2.035 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008495/0.5615, allocations: 479.6 kB / 1.577 GB, free: 1.566 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.5615, allocations: 1.188 kB / 1.577 GB, free: 1.566 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5618, allocations: 189.8 kB / 1.577 GB, free: 1.383 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.5643, allocations: 0.6229 MB / 1.578 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009949/0.5742, allocations: 7.643 MB / 1.585 GB, free: 8.742 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.5749, allocations: 1.099 MB / 1.586 GB, free: 7.613 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008097/0.5757, allocations: 248.4 kB / 1.586 GB, free: 7.367 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.5762, allocations: 343.3 kB / 1.587 GB, free: 7.031 MB / 1.279 GB Notification: Performance of SimCode: time 7.61e-07/0.5762, allocations: 0 / 1.587 GB, free: 7.031 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5653/1.141, allocations: 28.5 MB / 1.615 GB, free: 262.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/13.04, allocations: 7.078 kB / 1.615 GB, free: 262.1 MB / 1.295 GB " [Timeout remaining time 287] (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/jenkins1/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: 19.103920185996685]