Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001452/0.001452, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002035/0.002035, allocations: 218 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.878/2.878, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001824/0.001824, allocations: 62.39 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2983, allocations: 179 MB / 1.345 GB, free: 416 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2056/0.5039, allocations: 194.6 MB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.5129, allocations: 5.785 MB / 1.541 GB, free: 7.273 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5142, allocations: 55.5 kB / 1.541 GB, free: 7.219 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.5158, allocations: 0.6175 MB / 1.542 GB, free: 6.598 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.5203, allocations: 1.952 MB / 1.544 GB, free: 4.637 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.5232, allocations: 1.236 MB / 1.545 GB, free: 3.406 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003759/0.527, allocations: 3.025 MB / 1.548 GB, free: 376 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.528, allocations: 0.7359 MB / 1.548 GB, free: 15.62 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.5304, allocations: 1.323 MB / 1.55 GB, free: 14.29 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.5322, allocations: 0.9652 MB / 1.551 GB, free: 13.33 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.5324, allocations: 108 kB / 1.551 GB, free: 13.22 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.5351, allocations: 1.532 MB / 1.552 GB, free: 11.69 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.5355, allocations: 478.6 kB / 1.553 GB, free: 11.22 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.5362, allocations: 0.6494 MB / 1.553 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.5388, allocations: 2.145 MB / 1.556 GB, free: 8.414 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.5388, allocations: 0 / 1.556 GB, free: 8.414 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5388, allocations: 0 / 1.556 GB, free: 8.414 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5389, allocations: 0 / 1.556 GB, free: 8.414 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002307/0.5412, allocations: 1.477 MB / 1.557 GB, free: 6.902 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5412, allocations: 12.03 kB / 1.557 GB, free: 6.891 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.054e-05/0.5412, allocations: 22 kB / 1.557 GB, free: 6.867 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.5414, allocations: 135.2 kB / 1.557 GB, free: 6.727 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.5432, allocations: 322.9 kB / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5445, allocations: 0.7916 MB / 1.558 GB, free: 5.594 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.5445, allocations: 62 kB / 1.558 GB, free: 5.535 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.5447, allocations: 87.94 kB / 1.558 GB, free: 5.449 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5462, allocations: 0.9131 MB / 1.559 GB, free: 4.531 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5462, allocations: 3.938 kB / 1.559 GB, free: 4.527 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.5463, allocations: 36 kB / 1.559 GB, free: 4.492 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.5463, allocations: 30 kB / 1.559 GB, free: 4.461 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.5477, allocations: 0.8276 MB / 1.56 GB, free: 3.633 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.005027/0.5527, allocations: 3.468 MB / 1.563 GB, free: 15.94 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.5534, allocations: 480.4 kB / 1.564 GB, free: 15.46 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/0.5539, allocations: 274 kB / 1.564 GB, free: 15.2 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.554, allocations: 28.42 kB / 1.564 GB, free: 15.17 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.5541, allocations: 46.98 kB / 1.564 GB, free: 15.11 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 1.462e-06/0.5541, allocations: 0 / 1.564 GB, free: 15.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003516/0.5576, allocations: 1.706 MB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5576, allocations: 59.84 kB / 1.566 GB, free: 13.29 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.5586, allocations: 0.8058 MB / 1.567 GB, free: 12.48 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.5586, allocations: 37.7 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.559, allocations: 488.2 kB / 1.567 GB, free: 11.96 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5591, allocations: 182.4 kB / 1.567 GB, free: 11.78 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5593, allocations: 106.3 kB / 1.568 GB, free: 11.67 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5594, allocations: 341.9 kB / 1.568 GB, free: 11.33 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.5599, allocations: 241.2 kB / 1.568 GB, free: 11.09 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.5604, allocations: 357.1 kB / 1.568 GB, free: 10.71 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.003525/0.5639, allocations: 1.452 MB / 1.57 GB, free: 9.211 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5639, allocations: 4 kB / 1.57 GB, free: 9.207 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001303/0.5652, allocations: 0.7757 MB / 1.571 GB, free: 8.422 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5652, allocations: 8.344 kB / 1.571 GB, free: 8.414 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5652, allocations: 4 kB / 1.571 GB, free: 8.41 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.5655, allocations: 101.6 kB / 1.571 GB, free: 8.305 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.5661, allocations: 135.9 kB / 1.571 GB, free: 8.172 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.5691, allocations: 3.111 MB / 1.574 GB, free: 4.828 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.5698, allocations: 23.98 kB / 1.574 GB, free: 4.805 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5698, allocations: 20 kB / 1.574 GB, free: 4.785 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.5703, allocations: 302.7 kB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5704, allocations: 95.44 kB / 1.574 GB, free: 4.387 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.5706, allocations: 104.7 kB / 1.574 GB, free: 4.281 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5706, allocations: 4 kB / 1.574 GB, free: 4.277 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5706, allocations: 11.94 kB / 1.574 GB, free: 4.266 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.5717, allocations: 0.8387 MB / 1.575 GB, free: 3.34 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.5744, allocations: 1.767 MB / 1.577 GB, free: 1.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5744, allocations: 4 kB / 1.577 GB, free: 1.477 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.575, allocations: 123.9 kB / 1.577 GB, free: 1.355 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.5752, allocations: 68.8 kB / 1.577 GB, free: 1.285 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.5752, allocations: 16.19 kB / 1.577 GB, free: 1.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.5769, allocations: 1.683 MB / 1.579 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5769, allocations: 7.938 kB / 1.579 GB, free: 15.47 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5784, allocations: 1.066 MB / 1.58 GB, free: 14.34 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.5788, allocations: 163.3 kB / 1.58 GB, free: 14.18 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5789, allocations: 12 kB / 1.58 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.5795, allocations: 34.03 kB / 1.58 GB, free: 14.14 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5796, allocations: 47.88 kB / 1.58 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.5797, allocations: 31.98 kB / 1.58 GB, free: 14.06 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007004/0.5804, allocations: 0.5576 MB / 1.581 GB, free: 13.51 MB / 1.279 GB Notification: Performance of sort global known variables: time 6e-08/0.5804, allocations: 0 / 1.581 GB, free: 13.51 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008249/0.5812, allocations: 284 kB / 1.581 GB, free: 13.23 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/0.5833, allocations: 1.698 MB / 1.583 GB, free: 11.46 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.5847, allocations: 0.773 MB / 1.583 GB, free: 10.66 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5847, allocations: 4 kB / 1.583 GB, free: 10.66 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.5853, allocations: 402.2 kB / 1.584 GB, free: 10.25 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.5879, allocations: 0.6127 MB / 1.584 GB, free: 9.656 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.5973, allocations: 7.016 MB / 1.591 GB, free: 2.352 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.598, allocations: 1.087 MB / 1.592 GB, free: 1.234 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006929/0.5987, allocations: 219.7 kB / 1.593 GB, free: 1.016 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.5992, allocations: 343.3 kB / 1.593 GB, free: 0.6797 MB / 1.279 GB Notification: Performance of SimCode: time 6.51e-07/0.5992, allocations: 0 / 1.593 GB, free: 0.6797 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5872/1.186, allocations: 28.68 MB / 1.621 GB, free: 262.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.36, allocations: 5.641 kB / 1.621 GB, free: 262.4 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 20.48020616103895]