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: 99.64 kB / 18.94 MB, free: 2.551 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.001625/0.001625, allocations: 215.1 kB / 22.25 MB, free: 4.855 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.993/2.993, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",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.001932/0.001932, allocations: 76.73 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3176, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.196/0.5137, allocations: 168.6 MB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009558/0.5232, allocations: 5.452 MB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.5247, allocations: 55.56 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.5264, allocations: 0.5513 MB / 1.534 GB, free: 14.82 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.5315, allocations: 1.937 MB / 1.536 GB, free: 12.88 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.5349, allocations: 1.209 MB / 1.537 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004121/0.539, allocations: 2.999 MB / 1.54 GB, free: 8.672 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.5404, allocations: 0.7357 MB / 1.541 GB, free: 7.926 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.543, allocations: 1.32 MB / 1.542 GB, free: 6.602 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.5452, allocations: 0.9263 MB / 1.543 GB, free: 5.676 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.5455, allocations: 108 kB / 1.543 GB, free: 5.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.5482, allocations: 1.188 MB / 1.544 GB, free: 4.379 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006035/0.5488, allocations: 474.6 kB / 1.545 GB, free: 3.914 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009745/0.5497, allocations: 0.5446 MB / 1.545 GB, free: 3.367 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.553, allocations: 2.106 MB / 1.547 GB, free: 1.254 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.553, allocations: 0 / 1.547 GB, free: 1.254 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.004e-06/0.553, allocations: 3.938 kB / 1.547 GB, free: 1.25 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.5531, allocations: 3.938 kB / 1.547 GB, free: 1.246 MB / 1.232 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.002991/0.5561, allocations: 1.465 MB / 1.549 GB, free: 15.74 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5561, allocations: 8.031 kB / 1.549 GB, free: 15.73 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.5563, allocations: 151.2 kB / 1.549 GB, free: 15.58 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.5583, allocations: 327 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5599, allocations: 0.78 MB / 1.55 GB, free: 14.45 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.56, allocations: 66 kB / 1.55 GB, free: 14.39 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.5602, allocations: 87.95 kB / 1.55 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.562, allocations: 1.365 MB / 1.551 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5621, allocations: 0 / 1.551 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.5622, allocations: 43.98 kB / 1.551 GB, free: 12.78 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.5622, allocations: 30 kB / 1.551 GB, free: 12.75 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5637, allocations: 0.8237 MB / 1.552 GB, free: 11.92 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.005288/0.569, allocations: 2.527 MB / 1.555 GB, free: 9.332 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.5698, allocations: 492.3 kB / 1.555 GB, free: 8.844 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.5702, allocations: 274.5 kB / 1.555 GB, free: 8.574 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.5704, allocations: 24.42 kB / 1.555 GB, free: 8.551 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5704, allocations: 43 kB / 1.555 GB, free: 8.5 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.5704, allocations: 0 / 1.555 GB, free: 8.5 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003886/0.5743, allocations: 1.706 MB / 1.557 GB, free: 6.75 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5744, allocations: 59.78 kB / 1.557 GB, free: 6.68 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.5754, allocations: 0.8174 MB / 1.558 GB, free: 5.855 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.5755, allocations: 37.7 kB / 1.558 GB, free: 5.812 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.5759, allocations: 484.3 kB / 1.558 GB, free: 5.336 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.5761, allocations: 178.4 kB / 1.559 GB, free: 5.16 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5763, allocations: 114.3 kB / 1.559 GB, free: 5.043 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5764, allocations: 333.9 kB / 1.559 GB, free: 4.711 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.5769, allocations: 241.2 kB / 1.559 GB, free: 4.477 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.5774, allocations: 404.6 kB / 1.56 GB, free: 4.027 MB / 1.248 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.003687/0.5811, allocations: 1.46 MB / 1.561 GB, free: 2.531 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5811, allocations: 4 kB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001375/0.5825, allocations: 0.7796 MB / 1.562 GB, free: 1.734 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5825, allocations: 11.98 kB / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.5825, allocations: 352 / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.5828, allocations: 101.6 kB / 1.562 GB, free: 1.617 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.5834, allocations: 143.8 kB / 1.562 GB, free: 1.477 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.5866, allocations: 3.084 MB / 1.565 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.5874, allocations: 32.05 kB / 1.565 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.5874, allocations: 24 kB / 1.565 GB, free: 14.11 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.0004616/0.5879, allocations: 297.8 kB / 1.565 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.588, allocations: 99.38 kB / 1.566 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.5882, allocations: 104.7 kB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5882, allocations: 7.938 kB / 1.566 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5882, allocations: 0 / 1.566 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.5894, allocations: 0.8387 MB / 1.566 GB, free: 12.67 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.5923, allocations: 1.627 MB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5924, allocations: 4 kB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.5929, allocations: 128.3 kB / 1.568 GB, free: 10.82 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.5932, allocations: 72.8 kB / 1.568 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.5932, allocations: 15.94 kB / 1.568 GB, free: 10.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.595, allocations: 1.678 MB / 1.57 GB, free: 8.941 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.595, allocations: 4 kB / 1.57 GB, free: 8.938 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.5966, allocations: 1.074 MB / 1.571 GB, free: 7.805 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.5971, allocations: 167.2 kB / 1.571 GB, free: 7.641 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5972, allocations: 15.98 kB / 1.571 GB, free: 7.625 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.5979, allocations: 32.86 kB / 1.571 GB, free: 7.594 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.598, allocations: 51.78 kB / 1.571 GB, free: 7.543 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.5981, allocations: 31.98 kB / 1.571 GB, free: 7.512 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007965/0.5989, allocations: 0.5576 MB / 1.572 GB, free: 6.961 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5989, allocations: 0 / 1.572 GB, free: 6.961 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008581/0.5997, allocations: 280 kB / 1.572 GB, free: 6.688 MB / 1.264 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.002166/0.6019, allocations: 1.687 MB / 1.574 GB, free: 4.926 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.6033, allocations: 0.7762 MB / 1.574 GB, free: 4.125 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.6033, allocations: 4 kB / 1.574 GB, free: 4.121 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.6039, allocations: 399.5 kB / 1.575 GB, free: 3.719 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.6064, allocations: 0.6086 MB / 1.575 GB, free: 3.125 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.6169, allocations: 7.015 MB / 1.582 GB, free: 11.83 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.6175, allocations: 0.4928 MB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008061/0.6183, allocations: 211.7 kB / 1.583 GB, free: 11.09 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.6188, allocations: 339.3 kB / 1.583 GB, free: 10.76 MB / 1.279 GB Notification: Performance of SimCode: time 7.11e-07/0.6188, allocations: 4 kB / 1.583 GB, free: 10.75 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6298/1.249, allocations: 30.76 MB / 1.613 GB, free: 245.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.54, allocations: 2.656 kB / 1.613 GB, free: 245.8 MB / 1.295 GB " [Timeout remaining time 286] (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: 19.76360391685739]