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.0007453/0.0007453, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001027/0.001027, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8426/0.8426, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 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 1.693/1.693, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.394e-05, allocations: 4.672 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5946/0.5946, allocations: 168.4 MB / 1.164 GB, free: 9.828 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007054/0.6016, allocations: 5.439 MB / 1.169 GB, free: 6.129 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.6022, allocations: 52.97 kB / 1.169 GB, free: 6.102 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.6034, allocations: 0.5643 MB / 1.17 GB, free: 5.793 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.6063, allocations: 1.97 MB / 1.172 GB, free: 4.691 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.608, allocations: 1.247 MB / 1.173 GB, free: 4.027 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.6103, allocations: 3.035 MB / 1.176 GB, free: 2.602 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/0.611, allocations: 0.7301 MB / 1.177 GB, free: 2.25 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6127, allocations: 1.661 MB / 1.178 GB, free: 1.508 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.6139, allocations: 0.8463 MB / 1.179 GB, free: 1.238 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.614, allocations: 108.5 kB / 1.179 GB, free: 1.238 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.6155, allocations: 1.196 MB / 1.181 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.6159, allocations: 0.4899 MB / 1.181 GB, free: 0.5703 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.6164, allocations: 480.6 kB / 1.182 GB, free: 388 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.6188, allocations: 2.178 MB / 1.184 GB, free: 15.63 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6188, allocations: 0 / 1.184 GB, free: 15.63 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6188, allocations: 1.156 kB / 1.184 GB, free: 15.63 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6188, allocations: 0 / 1.184 GB, free: 15.63 MB / 1.042 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.001627/0.6205, allocations: 1.455 MB / 1.185 GB, free: 14.71 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6205, allocations: 12.58 kB / 1.185 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.6206, allocations: 139.5 kB / 1.185 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6216, allocations: 326.3 kB / 1.186 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.6226, allocations: 0.7788 MB / 1.186 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.6226, allocations: 68.66 kB / 1.186 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6227, allocations: 83.75 kB / 1.186 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6239, allocations: 1.361 MB / 1.188 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.6239, allocations: 3.984 kB / 1.188 GB, free: 13.1 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.624, allocations: 45.33 kB / 1.188 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.624, allocations: 31.38 kB / 1.188 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6251, allocations: 0.8202 MB / 1.189 GB, free: 12.8 MB / 1.042 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.003153/0.6282, allocations: 2.528 MB / 1.191 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.6288, allocations: 482.9 kB / 1.192 GB, free: 11.37 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.6291, allocations: 272.7 kB / 1.192 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.6292, allocations: 25.03 kB / 1.192 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.6292, allocations: 44.64 kB / 1.192 GB, free: 11.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.6292, allocations: 0 / 1.192 GB, free: 11.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.002428/0.6317, allocations: 1.72 MB / 1.194 GB, free: 10.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6317, allocations: 57.34 kB / 1.194 GB, free: 10.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.6324, allocations: 0.8053 MB / 1.194 GB, free: 10 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.6324, allocations: 39.3 kB / 1.194 GB, free: 9.961 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.6327, allocations: 483.9 kB / 1.195 GB, free: 9.578 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6328, allocations: 183 kB / 1.195 GB, free: 9.434 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.6329, allocations: 115.7 kB / 1.195 GB, free: 9.363 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.633, allocations: 327.3 kB / 1.196 GB, free: 9.051 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6333, allocations: 240.8 kB / 1.196 GB, free: 8.973 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.6336, allocations: 409 kB / 1.196 GB, free: 8.711 MB / 1.042 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.002183/0.6358, allocations: 1.458 MB / 1.198 GB, free: 8.152 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6358, allocations: 1.312 kB / 1.198 GB, free: 8.152 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008515/0.6366, allocations: 0.7868 MB / 1.198 GB, free: 7.82 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6367, allocations: 6.969 kB / 1.198 GB, free: 7.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6367, allocations: 2.594 kB / 1.198 GB, free: 7.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.6369, allocations: 103.9 kB / 1.198 GB, free: 7.777 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.6372, allocations: 143 kB / 1.199 GB, free: 7.766 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.6391, allocations: 3.074 MB / 1.202 GB, free: 4.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.6396, allocations: 30.36 kB / 1.202 GB, free: 4.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6397, allocations: 21.03 kB / 1.202 GB, free: 4.906 MB / 1.042 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.0003317/0.6401, allocations: 300.1 kB / 1.202 GB, free: 4.684 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6402, allocations: 101.8 kB / 1.202 GB, free: 4.629 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.6403, allocations: 101.4 kB / 1.202 GB, free: 4.555 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6403, allocations: 8.281 kB / 1.202 GB, free: 4.551 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6403, allocations: 0 / 1.202 GB, free: 4.551 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007176/0.641, allocations: 0.8392 MB / 1.203 GB, free: 3.871 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.6427, allocations: 1.63 MB / 1.205 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6427, allocations: 5.469 kB / 1.205 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.643, allocations: 124 kB / 1.205 GB, free: 2.742 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.6431, allocations: 73.2 kB / 1.205 GB, free: 2.703 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.6432, allocations: 13.31 kB / 1.205 GB, free: 2.695 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009953/0.6442, allocations: 1.669 MB / 1.206 GB, free: 1.164 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6442, allocations: 6.469 kB / 1.206 GB, free: 1.164 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6452, allocations: 1.07 MB / 1.207 GB, free: 484 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.6454, allocations: 163.1 kB / 1.208 GB, free: 376 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.6455, allocations: 16.52 kB / 1.208 GB, free: 364 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.6458, allocations: 37.52 kB / 1.208 GB, free: 344 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.6459, allocations: 48.89 kB / 1.208 GB, free: 312 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.6459, allocations: 31.73 kB / 1.208 GB, free: 300 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000469/0.6464, allocations: 0.5549 MB / 1.208 GB, free: 15.98 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6464, allocations: 0 / 1.208 GB, free: 15.98 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000528/0.6469, allocations: 280.2 kB / 1.208 GB, free: 15.96 MB / 1.057 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.001359/0.6483, allocations: 1.692 MB / 1.21 GB, free: 14.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.649, allocations: 0.7789 MB / 1.211 GB, free: 14.21 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.649, allocations: 2.312 kB / 1.211 GB, free: 14.21 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.6494, allocations: 403.9 kB / 1.211 GB, free: 13.95 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6508, allocations: 0.6131 MB / 1.212 GB, free: 13.63 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.6572, allocations: 6.949 MB / 1.219 GB, free: 9.195 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6576, allocations: 497.9 kB / 1.219 GB, free: 8.906 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.6581, allocations: 216.9 kB / 1.219 GB, free: 8.805 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.6584, allocations: 342.5 kB / 1.22 GB, free: 8.527 MB / 1.057 GB Notification: Performance of SimCode: time 6.52e-07/0.6584, allocations: 0 / 1.22 GB, free: 8.527 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.7037, allocations: 30.66 MB / 1.25 GB, free: 11.48 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.438, allocations: 11.94 kB / 1.25 GB, free: 11.47 MB / 1.089 GB " [Timeout remaining time 291] (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/jenkins/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: 12.433328904211521]