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.001422/0.001422, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001528/0.001528, allocations: 215 kB / 20.13 MB, free: 2.949 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.359/1.359, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.806/2.806, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 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.001881/0.001881, allocations: 67.91 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8269, allocations: 178.9 MB / 1.34 GB, free: 16.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2199/1.047, allocations: 194.3 MB / 1.53 GB, free: 5.805 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009852/1.057, allocations: 5.782 MB / 1.536 GB, free: 20 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/1.058, allocations: 59.55 kB / 1.536 GB, free: 15.96 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/1.06, allocations: 0.598 MB / 1.536 GB, free: 15.36 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004344/1.064, allocations: 1.925 MB / 1.538 GB, free: 13.43 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/1.067, allocations: 1.195 MB / 1.539 GB, free: 12.24 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003494/1.07, allocations: 2.949 MB / 1.542 GB, free: 9.285 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.071, allocations: 0.8055 MB / 1.543 GB, free: 8.469 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/1.073, allocations: 1.312 MB / 1.544 GB, free: 7.152 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.075, allocations: 0.9597 MB / 1.545 GB, free: 6.195 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/1.075, allocations: 108 kB / 1.545 GB, free: 6.09 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/1.078, allocations: 1.508 MB / 1.547 GB, free: 4.578 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/1.078, allocations: 474.6 kB / 1.547 GB, free: 4.113 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007046/1.079, allocations: 0.6572 MB / 1.548 GB, free: 3.453 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/1.082, allocations: 2.149 MB / 1.55 GB, free: 1.297 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.082, allocations: 0 / 1.55 GB, free: 1.297 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.452e-06/1.082, allocations: 4 kB / 1.55 GB, free: 1.293 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.213e-05/1.082, allocations: 4 kB / 1.55 GB, free: 1.289 MB / 1.217 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.002519/1.084, allocations: 1.545 MB / 1.551 GB, free: 15.69 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.084, allocations: 8.031 kB / 1.551 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.204e-05/1.084, allocations: 22 kB / 1.551 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/1.085, allocations: 139.2 kB / 1.552 GB, free: 15.52 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.087, allocations: 323 kB / 1.552 GB, free: 15.2 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.088, allocations: 0.8637 MB / 1.553 GB, free: 14.29 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/1.088, allocations: 66 kB / 1.553 GB, free: 14.23 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.088, allocations: 95.88 kB / 1.553 GB, free: 14.14 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.09, allocations: 0.9053 MB / 1.554 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.09, allocations: 0 / 1.554 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/1.09, allocations: 36 kB / 1.554 GB, free: 13.19 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/1.09, allocations: 30 kB / 1.554 GB, free: 13.16 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/1.091, allocations: 0.8276 MB / 1.555 GB, free: 12.33 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.005387/1.097, allocations: 3.523 MB / 1.558 GB, free: 8.586 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/1.097, allocations: 472.4 kB / 1.558 GB, free: 8.117 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/1.098, allocations: 278 kB / 1.559 GB, free: 7.84 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/1.098, allocations: 105.5 kB / 1.559 GB, free: 7.719 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.098, allocations: 43 kB / 1.559 GB, free: 7.668 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/1.098, allocations: 0 / 1.559 GB, free: 7.668 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.004129/1.102, allocations: 1.932 MB / 1.561 GB, free: 5.641 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.102, allocations: 59.84 kB / 1.561 GB, free: 5.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.103, allocations: 0.8059 MB / 1.562 GB, free: 4.758 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/1.103, allocations: 37.7 kB / 1.562 GB, free: 4.715 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/1.104, allocations: 480.2 kB / 1.562 GB, free: 4.242 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.104, allocations: 182.4 kB / 1.562 GB, free: 4.062 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/1.104, allocations: 118.3 kB / 1.562 GB, free: 3.941 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.104, allocations: 329.9 kB / 1.563 GB, free: 3.613 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/1.105, allocations: 241.2 kB / 1.563 GB, free: 3.379 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/1.105, allocations: 361.2 kB / 1.563 GB, free: 2.988 MB / 1.232 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.003818/1.109, allocations: 1.526 MB / 1.565 GB, free: 1.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.109, allocations: 0 / 1.565 GB, free: 1.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001419/1.111, allocations: 0.7891 MB / 1.566 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.111, allocations: 11.98 kB / 1.566 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.111, allocations: 3.984 kB / 1.566 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/1.111, allocations: 89.66 kB / 1.566 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/1.112, allocations: 147.8 kB / 1.566 GB, free: 360 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/1.115, allocations: 3.309 MB / 1.569 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/1.116, allocations: 23.98 kB / 1.569 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/1.116, allocations: 20 kB / 1.569 GB, free: 12.71 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.0004814/1.116, allocations: 307.3 kB / 1.569 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.116, allocations: 99.5 kB / 1.569 GB, free: 12.31 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/1.117, allocations: 100.7 kB / 1.57 GB, free: 12.21 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.117, allocations: 4 kB / 1.57 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.117, allocations: 3.938 kB / 1.57 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/1.118, allocations: 0.8349 MB / 1.57 GB, free: 11.27 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/1.121, allocations: 1.799 MB / 1.572 GB, free: 9.379 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.121, allocations: 0 / 1.572 GB, free: 9.379 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/1.122, allocations: 123.9 kB / 1.572 GB, free: 9.258 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/1.122, allocations: 81.08 kB / 1.572 GB, free: 9.176 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/1.122, allocations: 16 kB / 1.572 GB, free: 9.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.124, allocations: 1.781 MB / 1.574 GB, free: 7.242 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.124, allocations: 4.031 kB / 1.574 GB, free: 7.238 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/1.125, allocations: 1.07 MB / 1.575 GB, free: 6.109 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/1.126, allocations: 240.4 kB / 1.575 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.126, allocations: 19.98 kB / 1.575 GB, free: 5.836 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/1.127, allocations: 27.98 kB / 1.575 GB, free: 5.809 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.127, allocations: 43.89 kB / 1.575 GB, free: 5.766 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/1.127, allocations: 31.98 kB / 1.575 GB, free: 5.734 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008061/1.128, allocations: 0.5615 MB / 1.576 GB, free: 5.18 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.31e-07/1.128, allocations: 0 / 1.576 GB, free: 5.18 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009135/1.129, allocations: 280 kB / 1.576 GB, free: 4.906 MB / 1.248 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.00227/1.131, allocations: 1.69 MB / 1.578 GB, free: 3.145 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001438/1.132, allocations: 0.7883 MB / 1.579 GB, free: 2.336 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.132, allocations: 4 kB / 1.579 GB, free: 2.332 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/1.133, allocations: 391.7 kB / 1.579 GB, free: 1.938 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/1.136, allocations: 0.6174 MB / 1.58 GB, free: 1.336 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.146, allocations: 7.01 MB / 1.587 GB, free: 10.04 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/1.147, allocations: 1.087 MB / 1.588 GB, free: 8.914 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007664/1.147, allocations: 219.7 kB / 1.588 GB, free: 8.695 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.148, allocations: 343.3 kB / 1.588 GB, free: 8.363 MB / 1.264 GB Notification: Performance of SimCode: time 7.61e-07/1.148, allocations: 0 / 1.588 GB, free: 8.363 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/1.211, allocations: 28.25 MB / 1.616 GB, free: 12.56 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.44, allocations: 11 kB / 1.616 GB, free: 12.55 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.5235086659668]