Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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: 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.0009202/0.0009202, 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.8533/0.8533, 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 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.641/1.641, allocations: 377.9 MB / 0.6221 GB, free: 8.633 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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.277e-05, allocations: 9.656 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5486/0.5486, allocations: 195.7 MB / 1.172 GB, free: 13.05 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008392/0.557, allocations: 5.447 MB / 1.177 GB, free: 9.352 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.5583, allocations: 53.59 kB / 1.178 GB, free: 9.324 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.5595, allocations: 0.5581 MB / 1.178 GB, free: 9.016 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.5632, allocations: 1.738 MB / 1.18 GB, free: 8.047 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.5659, allocations: 1.283 MB / 1.181 GB, free: 7.375 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.5691, allocations: 2.644 MB / 1.184 GB, free: 6.141 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.5699, allocations: 0.7022 MB / 1.184 GB, free: 5.805 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.5721, allocations: 1.594 MB / 1.186 GB, free: 5.094 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.5736, allocations: 0.7767 MB / 1.187 GB, free: 4.855 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.5738, allocations: 97.03 kB / 1.187 GB, free: 4.855 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.5759, allocations: 1.281 MB / 1.188 GB, free: 4.422 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.5762, allocations: 442.5 kB / 1.188 GB, free: 4.211 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.5767, allocations: 428.5 kB / 1.189 GB, free: 4.039 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.5791, allocations: 2.063 MB / 1.191 GB, free: 3.332 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5791, allocations: 0 / 1.191 GB, free: 3.332 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5791, allocations: 1.094 kB / 1.191 GB, free: 3.332 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.5791, allocations: 0 / 1.191 GB, free: 3.332 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00168/0.5808, allocations: 1.367 MB / 1.192 GB, free: 2.445 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5808, allocations: 12.16 kB / 1.192 GB, free: 2.445 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.581, allocations: 122.7 kB / 1.192 GB, free: 2.359 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5824, allocations: 437.5 kB / 1.193 GB, free: 2.258 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.5833, allocations: 0.7375 MB / 1.193 GB, free: 1.816 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.5834, allocations: 56.84 kB / 1.193 GB, free: 1.793 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.5835, allocations: 75.06 kB / 1.194 GB, free: 1.77 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.5848, allocations: 1.372 MB / 1.195 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5848, allocations: 1.094 kB / 1.195 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.5849, allocations: 31.91 kB / 1.195 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5849, allocations: 27.78 kB / 1.195 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.5861, allocations: 0.8749 MB / 1.196 GB, free: 0.6172 MB / 1.026 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.003499/0.5896, allocations: 2.769 MB / 1.198 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.5905, allocations: 0.581 MB / 1.199 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.5909, allocations: 322.8 kB / 1.199 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.591, allocations: 28.86 kB / 1.199 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.591, allocations: 47.81 kB / 1.199 GB, free: 14.79 MB / 1.042 GB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.591, allocations: 0 / 1.199 GB, free: 14.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=41): time 0.003229/0.5943, allocations: 1.824 MB / 1.201 GB, free: 13.96 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5943, allocations: 55.53 kB / 1.201 GB, free: 13.9 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.595, allocations: 0.7933 MB / 1.202 GB, free: 13.45 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.595, allocations: 38.55 kB / 1.202 GB, free: 13.41 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.5952, allocations: 464.2 kB / 1.203 GB, free: 13 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.5954, allocations: 149.2 kB / 1.203 GB, free: 12.88 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5955, allocations: 115.8 kB / 1.203 GB, free: 12.8 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.5956, allocations: 326.1 kB / 1.203 GB, free: 12.48 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.596, allocations: 309.4 kB / 1.203 GB, free: 12.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.5965, allocations: 0.5379 MB / 1.204 GB, free: 11.91 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.002676/0.5992, allocations: 1.851 MB / 1.206 GB, free: 10.96 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5992, allocations: 3.031 kB / 1.206 GB, free: 10.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001055/0.6002, allocations: 0.8448 MB / 1.207 GB, free: 10.53 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6003, allocations: 12.45 kB / 1.207 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6003, allocations: 2.969 kB / 1.207 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6003, allocations: 5.156 kB / 1.207 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.6007, allocations: 166.5 kB / 1.207 GB, free: 10.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6007, allocations: 4.969 kB / 1.207 GB, free: 10.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.6012, allocations: 57.34 kB / 1.207 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.6013, allocations: 24 kB / 1.207 GB, free: 10.45 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: 14 * 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 (65): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.6016, allocations: 279.3 kB / 1.207 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.6017, allocations: 96.34 kB / 1.207 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.6018, allocations: 90.59 kB / 1.207 GB, free: 10.12 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6018, allocations: 5.594 kB / 1.207 GB, free: 10.12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6018, allocations: 7.922 kB / 1.207 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008043/0.6026, allocations: 0.6918 MB / 1.208 GB, free: 9.684 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.6048, allocations: 1.752 MB / 1.21 GB, free: 8.543 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6048, allocations: 6.281 kB / 1.21 GB, free: 8.543 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.6052, allocations: 144.8 kB / 1.21 GB, free: 8.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6052, allocations: 13.48 kB / 1.21 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6052, allocations: 12.94 kB / 1.21 GB, free: 8.484 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6052, allocations: 5.844 kB / 1.21 GB, free: 8.484 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6052, allocations: 5.281 kB / 1.21 GB, free: 8.484 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.6066, allocations: 1.215 MB / 1.211 GB, free: 7.734 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6068, allocations: 169.5 kB / 1.211 GB, free: 7.625 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.6069, allocations: 13.84 kB / 1.211 GB, free: 7.617 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.6073, allocations: 55.53 kB / 1.211 GB, free: 7.594 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.6073, allocations: 45.23 kB / 1.211 GB, free: 7.562 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.6074, allocations: 31.02 kB / 1.211 GB, free: 7.551 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004168/0.6078, allocations: 0.5391 MB / 1.212 GB, free: 7.246 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6078, allocations: 0 / 1.212 GB, free: 7.246 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005452/0.6083, allocations: 247.5 kB / 1.212 GB, free: 7.223 MB / 1.042 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/0.61, allocations: 1.869 MB / 1.214 GB, free: 5.891 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.611, allocations: 0.6606 MB / 1.215 GB, free: 5.586 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.611, allocations: 0 / 1.215 GB, free: 5.586 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.6114, allocations: 324.1 kB / 1.215 GB, free: 5.438 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.6127, allocations: 0.5354 MB / 1.215 GB, free: 5.168 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.6203, allocations: 7.16 MB / 1.222 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6206, allocations: 463.6 kB / 1.223 GB, free: 408 kB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0006557/0.6213, allocations: 223.2 kB / 1.223 GB, free: 308 kB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.6216, allocations: 323.9 kB / 1.223 GB, free: 40 kB / 1.042 GB Notification: Performance of SimCode: time 1.382e-06/0.6216, allocations: 0 / 1.223 GB, free: 40 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.66, allocations: 28.43 MB / 1.251 GB, free: 5.566 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/7.706, allocations: 2.844 kB / 1.251 GB, free: 5.566 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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: 11.622696409001946]