Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001264/0.001264, allocations: 102 kB / 16.45 MB, free: 6.449 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.001401/0.001401, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.366/1.366, allocations: 230.6 MB / 252.8 MB, free: 9.152 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 65.62 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2142/0.5152, allocations: 194.3 MB / 1.511 GB, free: 340 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009528/0.5247, allocations: 5.765 MB / 1.516 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.526, allocations: 55.56 kB / 1.516 GB, free: 10.5 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.5276, allocations: 0.6136 MB / 1.517 GB, free: 9.879 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.5323, allocations: 1.921 MB / 1.519 GB, free: 7.953 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.5355, allocations: 1.187 MB / 1.52 GB, free: 6.77 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.5396, allocations: 2.95 MB / 1.523 GB, free: 3.816 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.541, allocations: 0.8171 MB / 1.524 GB, free: 2.988 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.5436, allocations: 1.312 MB / 1.525 GB, free: 1.672 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.5457, allocations: 0.9558 MB / 1.526 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.5459, allocations: 112 kB / 1.526 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.5489, allocations: 1.508 MB / 1.527 GB, free: 15.1 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.5495, allocations: 474.6 kB / 1.528 GB, free: 14.63 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009767/0.5504, allocations: 0.6572 MB / 1.528 GB, free: 13.97 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.5541, allocations: 2.137 MB / 1.531 GB, free: 11.83 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5542, allocations: 0 / 1.531 GB, free: 11.83 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5542, allocations: 7.938 kB / 1.531 GB, free: 11.82 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.5542, allocations: 0 / 1.531 GB, free: 11.82 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.002776/0.557, allocations: 1.549 MB / 1.532 GB, free: 10.21 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.557, allocations: 15.92 kB / 1.532 GB, free: 10.2 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.5572, allocations: 143.2 kB / 1.532 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.5592, allocations: 327 kB / 1.532 GB, free: 9.73 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5607, allocations: 0.8521 MB / 1.533 GB, free: 8.836 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.5608, allocations: 62 kB / 1.533 GB, free: 8.777 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.5609, allocations: 84 kB / 1.533 GB, free: 8.695 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.5626, allocations: 0.9147 MB / 1.534 GB, free: 7.773 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5626, allocations: 0 / 1.534 GB, free: 7.773 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.5627, allocations: 43.98 kB / 1.534 GB, free: 7.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.5627, allocations: 33.98 kB / 1.534 GB, free: 7.695 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.5643, allocations: 0.8237 MB / 1.535 GB, free: 6.875 MB / 1.232 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.006273/0.5706, allocations: 3.518 MB / 1.539 GB, free: 3.137 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/0.5715, allocations: 479.1 kB / 1.539 GB, free: 2.656 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.572, allocations: 282 kB / 1.539 GB, free: 2.379 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.5722, allocations: 101.5 kB / 1.539 GB, free: 2.262 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.5722, allocations: 43 kB / 1.54 GB, free: 2.211 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.5722, allocations: 0 / 1.54 GB, free: 2.211 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.004258/0.5765, allocations: 1.932 MB / 1.541 GB, free: 192 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.5765, allocations: 63.84 kB / 1.541 GB, free: 112 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5776, allocations: 0.8019 MB / 1.542 GB, free: 15.3 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.5776, allocations: 41.7 kB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.578, allocations: 480.3 kB / 1.543 GB, free: 14.78 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.5782, allocations: 178.4 kB / 1.543 GB, free: 14.6 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5784, allocations: 114.3 kB / 1.543 GB, free: 14.48 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5785, allocations: 333.9 kB / 1.543 GB, free: 14.15 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.579, allocations: 245.2 kB / 1.544 GB, free: 13.91 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.5796, allocations: 349.3 kB / 1.544 GB, free: 13.54 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.004125/0.5837, allocations: 1.531 MB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5837, allocations: 7.938 kB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001563/0.5853, allocations: 0.785 MB / 1.546 GB, free: 11.14 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5853, allocations: 4 kB / 1.546 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5853, allocations: 4 kB / 1.546 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.5857, allocations: 101.9 kB / 1.546 GB, free: 11.03 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.5864, allocations: 143.8 kB / 1.546 GB, free: 10.89 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.5898, allocations: 3.296 MB / 1.55 GB, free: 7.312 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.5907, allocations: 31.88 kB / 1.55 GB, free: 7.281 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.5908, allocations: 28.06 kB / 1.55 GB, free: 7.254 MB / 1.248 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.0005281/0.5913, allocations: 293.7 kB / 1.55 GB, free: 6.957 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5915, allocations: 95.44 kB / 1.55 GB, free: 6.863 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.5917, allocations: 104.7 kB / 1.55 GB, free: 6.758 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.5917, allocations: 4 kB / 1.55 GB, free: 6.754 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5917, allocations: 0 / 1.55 GB, free: 6.754 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.5929, allocations: 0.8466 MB / 1.551 GB, free: 5.816 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.5959, allocations: 1.783 MB / 1.553 GB, free: 3.934 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5959, allocations: 4.406 kB / 1.553 GB, free: 3.93 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.5965, allocations: 131.8 kB / 1.553 GB, free: 3.801 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.5967, allocations: 65 kB / 1.553 GB, free: 3.734 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.5968, allocations: 23.98 kB / 1.553 GB, free: 3.711 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.5986, allocations: 1.781 MB / 1.555 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5986, allocations: 4 kB / 1.555 GB, free: 1.781 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6004, allocations: 1.089 MB / 1.556 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.6008, allocations: 236.4 kB / 1.556 GB, free: 392 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6009, allocations: 16 kB / 1.556 GB, free: 376 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.6016, allocations: 37.94 kB / 1.556 GB, free: 340 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6017, allocations: 43.83 kB / 1.556 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.6018, allocations: 28.17 kB / 1.556 GB, free: 268 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007717/0.6026, allocations: 0.5654 MB / 1.557 GB, free: 15.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6026, allocations: 0 / 1.557 GB, free: 15.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009256/0.6035, allocations: 280 kB / 1.557 GB, free: 15.43 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.00222/0.6057, allocations: 1.688 MB / 1.559 GB, free: 13.67 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.6071, allocations: 0.7805 MB / 1.559 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.6072, allocations: 4.688 kB / 1.559 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.6078, allocations: 402.4 kB / 1.56 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.6107, allocations: 0.6157 MB / 1.56 GB, free: 11.85 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6211, allocations: 6.994 MB / 1.567 GB, free: 4.57 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.6218, allocations: 1.087 MB / 1.568 GB, free: 3.453 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008006/0.6226, allocations: 215.7 kB / 1.568 GB, free: 3.238 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.6231, allocations: 343.3 kB / 1.569 GB, free: 2.902 MB / 1.264 GB Notification: Performance of SimCode: time 1.102e-06/0.6231, allocations: 0 / 1.569 GB, free: 2.902 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/0.6943, allocations: 28.21 MB / 1.596 GB, free: 7.18 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.36, allocations: 9.594 kB / 1.596 GB, free: 7.172 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.13898996100761]