Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008148/0.0008148, 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.0008125/0.0008125, allocations: 165.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.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 0 / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.395e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.6762/0.6762, allocations: 195.6 MB / 1.142 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007804/0.684, allocations: 5.425 MB / 1.147 GB, free: 9.246 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.6856, allocations: 58.31 kB / 1.147 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.687, allocations: 0.5574 MB / 1.147 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.691, allocations: 1.741 MB / 1.149 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.6935, allocations: 1.275 MB / 1.15 GB, free: 6.453 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.6967, allocations: 2.657 MB / 1.153 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.6977, allocations: 0.6906 MB / 1.154 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.6998, allocations: 1.42 MB / 1.155 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.7017, allocations: 0.7983 MB / 1.156 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.7019, allocations: 96 kB / 1.156 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.7043, allocations: 1.297 MB / 1.157 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.7047, allocations: 444.5 kB / 1.158 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.7052, allocations: 425.3 kB / 1.158 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.7083, allocations: 2.062 MB / 1.16 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7083, allocations: 0 / 1.16 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7083, allocations: 4 kB / 1.16 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.801e-05/0.7083, allocations: 0 / 1.16 GB, free: 15.9 MB / 0.9948 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.002122/0.7104, allocations: 1.376 MB / 1.161 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7105, allocations: 12.03 kB / 1.161 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.7106, allocations: 123.9 kB / 1.162 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.7122, allocations: 430.8 kB / 1.162 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.7133, allocations: 0.7324 MB / 1.163 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.7133, allocations: 62 kB / 1.163 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.7134, allocations: 75.98 kB / 1.163 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.7148, allocations: 1.363 MB / 1.164 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.7148, allocations: 3.938 kB / 1.164 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.7149, allocations: 36 kB / 1.164 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.7149, allocations: 29.94 kB / 1.164 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.7162, allocations: 0.8744 MB / 1.165 GB, free: 10.62 MB / 0.9948 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.003749/0.7199, allocations: 2.753 MB / 1.168 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.7208, allocations: 0.5658 MB / 1.168 GB, free: 7.219 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.7212, allocations: 337.5 kB / 1.169 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.7213, allocations: 19.98 kB / 1.169 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.7214, allocations: 51.31 kB / 1.169 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=39): time 3.727e-06/0.7214, allocations: 0 / 1.169 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of matching and sorting (n=41): time 0.003024/0.7244, allocations: 1.839 MB / 1.17 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.7244, allocations: 55.41 kB / 1.171 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/0.7253, allocations: 0.7899 MB / 1.171 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.7253, allocations: 33.7 kB / 1.171 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.7256, allocations: 464.4 kB / 1.172 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.7257, allocations: 154.8 kB / 1.172 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.7258, allocations: 102.3 kB / 1.172 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.7259, allocations: 334 kB / 1.172 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.7263, allocations: 309.1 kB / 1.173 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.7269, allocations: 0.5383 MB / 1.173 GB, free: 2.062 MB / 0.9948 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.002878/0.7297, allocations: 1.858 MB / 1.175 GB, free: 168 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7297, allocations: 0 / 1.175 GB, free: 168 kB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001162/0.7309, allocations: 0.8561 MB / 1.176 GB, free: 15.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7309, allocations: 8 kB / 1.176 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7309, allocations: 9.062 kB / 1.176 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.731, allocations: 8.094 kB / 1.176 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.7314, allocations: 163.8 kB / 1.176 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.7314, allocations: 7.984 kB / 1.176 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.7319, allocations: 59.89 kB / 1.176 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.7319, allocations: 23.98 kB / 1.176 GB, free: 15.03 MB / 1.01 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.0003509/0.7323, allocations: 269.6 kB / 1.176 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.7324, allocations: 99.42 kB / 1.176 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.7325, allocations: 92.08 kB / 1.177 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7325, allocations: 4 kB / 1.177 GB, free: 14.56 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7325, allocations: 1.188 kB / 1.177 GB, free: 14.56 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008732/0.7334, allocations: 0.6875 MB / 1.177 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.7359, allocations: 1.758 MB / 1.179 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7359, allocations: 4 kB / 1.179 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.7363, allocations: 139.8 kB / 1.179 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.7363, allocations: 11.97 kB / 1.179 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.7363, allocations: 12 kB / 1.179 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.7363, allocations: 11.92 kB / 1.179 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7363, allocations: 8 kB / 1.179 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.7378, allocations: 1.217 MB / 1.18 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.738, allocations: 167.3 kB / 1.18 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.7381, allocations: 15.98 kB / 1.18 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.7385, allocations: 54.41 kB / 1.18 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.7386, allocations: 47.86 kB / 1.181 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.7386, allocations: 27.98 kB / 1.181 GB, free: 10.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004601/0.7391, allocations: 0.5419 MB / 1.181 GB, free: 9.691 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7391, allocations: 0 / 1.181 GB, free: 9.691 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005614/0.7396, allocations: 243.9 kB / 1.181 GB, free: 9.453 MB / 1.01 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.001872/0.7415, allocations: 1.844 MB / 1.183 GB, free: 7.543 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.7426, allocations: 0.6741 MB / 1.184 GB, free: 6.867 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7426, allocations: 4 kB / 1.184 GB, free: 6.863 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.743, allocations: 325 kB / 1.184 GB, free: 6.547 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7445, allocations: 0.5437 MB / 1.185 GB, free: 6.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.7533, allocations: 7.157 MB / 1.192 GB, free: 14.56 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.7538, allocations: 450.9 kB / 1.192 GB, free: 14.1 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0007214/0.7545, allocations: 219.1 kB / 1.192 GB, free: 13.88 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.7549, allocations: 320.4 kB / 1.193 GB, free: 13.56 MB / 1.026 GB Notification: Performance of SimCode: time 1.553e-06/0.7549, allocations: 4 kB / 1.193 GB, free: 13.56 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04103/0.7959, allocations: 28.42 MB / 1.22 GB, free: 1.828 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.638, allocations: 4.062 kB / 1.22 GB, free: 1.824 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.656620129942894]