Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 114.8 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 191.7 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.1 MB / 0.7178 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9629/1.287, allocations: 190.6 MB / 1.362 GB, free: 2.266 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01134/1.298, allocations: 5.739 MB / 1.368 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/1.301, allocations: 37.19 kB / 1.368 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/1.303, allocations: 0.5726 MB / 1.368 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005488/1.308, allocations: 1.627 MB / 1.37 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/1.312, allocations: 1.206 MB / 1.371 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004912/1.317, allocations: 2.57 MB / 1.374 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/1.319, allocations: 0.8745 MB / 1.374 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/1.322, allocations: 1.043 MB / 1.375 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/1.324, allocations: 0.8137 MB / 1.376 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/1.325, allocations: 96 kB / 1.376 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/1.329, allocations: 1.543 MB / 1.378 GB, free: 9.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006518/1.33, allocations: 411.4 kB / 1.378 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/1.331, allocations: 0.5831 MB / 1.379 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/1.335, allocations: 2.026 MB / 1.381 GB, free: 7.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/1.335, allocations: 0 / 1.381 GB, free: 7.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/1.335, allocations: 0 / 1.381 GB, free: 7.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.102e-05/1.335, allocations: 0 / 1.381 GB, free: 7.18 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002971/1.338, allocations: 1.469 MB / 1.382 GB, free: 6.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.338, allocations: 13.7 kB / 1.382 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/1.341, allocations: 429.5 kB / 1.383 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/1.343, allocations: 0.8111 MB / 1.383 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.136e-05/1.343, allocations: 57.12 kB / 1.383 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.343, allocations: 73.5 kB / 1.383 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/1.345, allocations: 0.9893 MB / 1.384 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/1.345, allocations: 5.328 kB / 1.384 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/1.345, allocations: 32.25 kB / 1.384 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/1.345, allocations: 27.75 kB / 1.385 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/1.347, allocations: 0.8707 MB / 1.385 GB, free: 4.133 MB / 1.045 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.006401/1.353, allocations: 3.475 MB / 1.389 GB, free: 1.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.355, allocations: 0.6109 MB / 1.389 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/1.356, allocations: 338.6 kB / 1.39 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/1.356, allocations: 97.17 kB / 1.39 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.356, allocations: 41.44 kB / 1.39 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 2.645e-06/1.356, allocations: 0 / 1.39 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of matching and sorting (n=41): time 0.008292/1.364, allocations: 2.412 MB / 1.392 GB, free: 15.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/1.364, allocations: 60.05 kB / 1.392 GB, free: 15.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.366, allocations: 0.7933 MB / 1.393 GB, free: 14.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.663e-05/1.366, allocations: 38.52 kB / 1.393 GB, free: 14.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.366, allocations: 455.4 kB / 1.393 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.366, allocations: 154.3 kB / 1.394 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.367, allocations: 107 kB / 1.394 GB, free: 14.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.367, allocations: 327.7 kB / 1.394 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/1.367, allocations: 298.2 kB / 1.394 GB, free: 13.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/1.368, allocations: 412 kB / 1.395 GB, free: 13.5 MB / 1.061 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.005347/1.374, allocations: 1.874 MB / 1.397 GB, free: 12.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.374, allocations: 0 / 1.397 GB, free: 12.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003259/1.377, allocations: 1.038 MB / 1.398 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.377, allocations: 7.625 kB / 1.398 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.377, allocations: 2.438 kB / 1.398 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/1.378, allocations: 191.7 kB / 1.398 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/1.378, allocations: 150.7 kB / 1.398 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/1.383, allocations: 2.228 MB / 1.4 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.384, allocations: 49.2 kB / 1.4 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/1.384, allocations: 25.45 kB / 1.4 GB, free: 9.887 MB / 1.061 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0006261/1.384, allocations: 275.3 kB / 1.4 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/1.385, allocations: 97.25 kB / 1.4 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/1.385, allocations: 95.83 kB / 1.401 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.385, allocations: 6.656 kB / 1.401 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.385, allocations: 1 kB / 1.401 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/1.388, allocations: 0.8961 MB / 1.401 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/1.394, allocations: 2.103 MB / 1.404 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.394, allocations: 5 kB / 1.404 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/1.395, allocations: 123.7 kB / 1.404 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/1.395, allocations: 193 kB / 1.404 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/1.395, allocations: 15.27 kB / 1.404 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/1.399, allocations: 2.186 MB / 1.406 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.399, allocations: 8.656 kB / 1.406 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/1.403, allocations: 1.414 MB / 1.407 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/1.404, allocations: 245.6 kB / 1.408 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.404, allocations: 15.41 kB / 1.408 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.405, allocations: 59.47 kB / 1.408 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.406, allocations: 43.45 kB / 1.408 GB, free: 4.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/1.406, allocations: 31.64 kB / 1.408 GB, free: 4.457 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009715/1.407, allocations: 0.5576 MB / 1.408 GB, free: 4.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.407, allocations: 0 / 1.408 GB, free: 4.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001189/1.408, allocations: 266.1 kB / 1.409 GB, free: 4.121 MB / 1.061 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 (37): * Single equations (assignments): 36 * 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.0006484/1.408, allocations: 215.2 kB / 1.409 GB, free: 3.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002252/1.411, allocations: 0.8075 MB / 1.41 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.411, allocations: 2.719 kB / 1.41 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/1.412, allocations: 465 kB / 1.41 GB, free: 3.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.415, allocations: 0.5363 MB / 1.411 GB, free: 2.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/1.42, allocations: 1.989 MB / 1.412 GB, free: 0.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008963/1.421, allocations: 1.04 MB / 1.413 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/1.421, allocations: 71.42 kB / 1.414 GB, free: 15.61 MB / 1.076 GB Notification: Performance of SimCode: time 7.71e-07/1.421, allocations: 0 / 1.414 GB, free: 15.61 MB / 1.076 GB Notification: Performance of Templates: time 0.03159/1.453, allocations: 18.96 MB / 1.432 GB, free: 12.8 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 15.155502252047881]