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.0007765/0.0007765, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007642/0.0007642, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8331/0.8331, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.608/1.608, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.823e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5692/0.5693, allocations: 168.4 MB / 1.145 GB, free: 15.36 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008602/0.5779, allocations: 5.449 MB / 1.151 GB, free: 11.65 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.5796, allocations: 57.06 kB / 1.151 GB, free: 11.62 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.5812, allocations: 0.5679 MB / 1.151 GB, free: 11.31 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.5872, allocations: 1.971 MB / 1.153 GB, free: 10.21 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.5906, allocations: 1.247 MB / 1.155 GB, free: 9.543 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004553/0.5951, allocations: 3.044 MB / 1.157 GB, free: 8.113 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5963, allocations: 0.7421 MB / 1.158 GB, free: 7.758 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.5993, allocations: 1.66 MB / 1.16 GB, free: 7.02 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.6012, allocations: 0.8531 MB / 1.161 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.6014, allocations: 112.8 kB / 1.161 GB, free: 6.746 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.6039, allocations: 1.2 MB / 1.162 GB, free: 6.309 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.6045, allocations: 0.4944 MB / 1.162 GB, free: 6.07 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.6052, allocations: 476 kB / 1.163 GB, free: 5.887 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.609, allocations: 2.182 MB / 1.165 GB, free: 5.133 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6091, allocations: 0.5156 kB / 1.165 GB, free: 5.133 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6091, allocations: 0 / 1.165 GB, free: 5.133 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.081e-05/0.6091, allocations: 0 / 1.165 GB, free: 5.133 MB / 1.01 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.002752/0.6119, allocations: 1.456 MB / 1.166 GB, free: 4.215 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6119, allocations: 13.19 kB / 1.166 GB, free: 4.211 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.6121, allocations: 140.7 kB / 1.167 GB, free: 4.117 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.6134, allocations: 321.2 kB / 1.167 GB, free: 4.031 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6146, allocations: 0.7851 MB / 1.168 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.6146, allocations: 64.53 kB / 1.168 GB, free: 3.539 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6148, allocations: 83.94 kB / 1.168 GB, free: 3.512 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6163, allocations: 1.362 MB / 1.169 GB, free: 2.605 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6163, allocations: 0 / 1.169 GB, free: 2.605 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.6164, allocations: 42.38 kB / 1.169 GB, free: 2.574 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.6164, allocations: 35.06 kB / 1.169 GB, free: 2.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.6176, allocations: 0.8249 MB / 1.17 GB, free: 2.297 MB / 1.01 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.00375/0.6214, allocations: 2.537 MB / 1.172 GB, free: 1.066 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.6219, allocations: 482.1 kB / 1.173 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.6222, allocations: 273.8 kB / 1.173 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.6223, allocations: 26.17 kB / 1.173 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.6224, allocations: 40.72 kB / 1.173 GB, free: 0.7188 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/0.6224, allocations: 0 / 1.173 GB, free: 0.7188 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.002852/0.6252, allocations: 1.714 MB / 1.175 GB, free: 15.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.6253, allocations: 57.62 kB / 1.175 GB, free: 15.82 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.6261, allocations: 0.8092 MB / 1.176 GB, free: 15.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.6261, allocations: 42.17 kB / 1.176 GB, free: 15.45 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.6264, allocations: 480 kB / 1.176 GB, free: 15.07 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.6265, allocations: 182 kB / 1.176 GB, free: 14.93 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.6267, allocations: 108.8 kB / 1.177 GB, free: 14.87 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.6267, allocations: 329.2 kB / 1.177 GB, free: 14.56 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.627, allocations: 244.2 kB / 1.177 GB, free: 14.48 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.6274, allocations: 405.5 kB / 1.177 GB, free: 14.22 MB / 1.026 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.002231/0.6297, allocations: 1.465 MB / 1.179 GB, free: 13.66 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.6297, allocations: 1.031 kB / 1.179 GB, free: 13.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009823/0.6307, allocations: 0.7784 MB / 1.18 GB, free: 13.33 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6307, allocations: 9.438 kB / 1.18 GB, free: 13.33 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6307, allocations: 9.172 kB / 1.18 GB, free: 13.32 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.6309, allocations: 93.5 kB / 1.18 GB, free: 13.29 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.6313, allocations: 147.5 kB / 1.18 GB, free: 13.27 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.6333, allocations: 3.084 MB / 1.183 GB, free: 10.53 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.6339, allocations: 24.3 kB / 1.183 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.634, allocations: 21.19 kB / 1.183 GB, free: 10.52 MB / 1.026 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.0004672/0.6344, allocations: 310.6 kB / 1.183 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.6345, allocations: 94.88 kB / 1.183 GB, free: 10.26 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.6346, allocations: 99.97 kB / 1.183 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6347, allocations: 6.625 kB / 1.183 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6347, allocations: 1.188 kB / 1.183 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007229/0.6354, allocations: 0.8424 MB / 1.184 GB, free: 9.582 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.6376, allocations: 1.623 MB / 1.186 GB, free: 8.734 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6376, allocations: 7.312 kB / 1.186 GB, free: 8.73 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.6379, allocations: 131.5 kB / 1.186 GB, free: 8.719 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.6381, allocations: 66.16 kB / 1.186 GB, free: 8.699 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.6381, allocations: 17.5 kB / 1.186 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.6392, allocations: 1.673 MB / 1.188 GB, free: 7.266 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6392, allocations: 8.688 kB / 1.188 GB, free: 7.262 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6404, allocations: 1.071 MB / 1.189 GB, free: 6.684 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.6407, allocations: 161.5 kB / 1.189 GB, free: 6.602 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.6407, allocations: 13.25 kB / 1.189 GB, free: 6.598 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.6411, allocations: 35.3 kB / 1.189 GB, free: 6.582 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.6412, allocations: 50.12 kB / 1.189 GB, free: 6.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.6412, allocations: 27.95 kB / 1.189 GB, free: 6.566 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000588/0.6418, allocations: 0.5604 MB / 1.19 GB, free: 6.332 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.6418, allocations: 0 / 1.19 GB, free: 6.332 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008292/0.6427, allocations: 291.2 kB / 1.19 GB, free: 6.305 MB / 1.026 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.00148/0.6441, allocations: 1.688 MB / 1.192 GB, free: 5.168 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0009996/0.6451, allocations: 0.7803 MB / 1.192 GB, free: 4.75 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6451, allocations: 1.531 kB / 1.192 GB, free: 4.75 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.6455, allocations: 402.2 kB / 1.193 GB, free: 4.539 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.6471, allocations: 0.6021 MB / 1.193 GB, free: 4.371 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.6541, allocations: 6.955 MB / 1.2 GB, free: 0.6914 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6544, allocations: 0.4904 MB / 1.201 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0006881/0.6551, allocations: 213.2 kB / 1.201 GB, free: 448 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.6555, allocations: 348.1 kB / 1.201 GB, free: 156 kB / 1.026 GB Notification: Performance of SimCode: time 1.482e-06/0.6555, allocations: 10.72 kB / 1.201 GB, free: 148 kB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.7008, allocations: 30.76 MB / 1.231 GB, free: 9.707 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.553, allocations: 5.078 kB / 1.231 GB, free: 9.707 MB / 1.057 GB " [Timeout remaining time 291] (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/jenkins/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: 12.385863887146115]