Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001619/0.001619, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001764/0.001764, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.309 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.594/2.594, allocations: 443.4 MB / 0.7304 GB, free: 14 MB / 0.5762 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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.059 GB, free: 480 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3846, allocations: 160.7 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.9852/1.37, allocations: 171.8 MB / 1.384 GB, free: 7.281 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008534/1.378, allocations: 4.324 MB / 1.388 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/1.38, allocations: 21.97 kB / 1.388 GB, free: 4.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/1.381, allocations: 362.7 kB / 1.388 GB, free: 4.039 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003409/1.384, allocations: 1.027 MB / 1.389 GB, free: 3.262 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/1.387, allocations: 0.8318 MB / 1.39 GB, free: 2.652 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002652/1.39, allocations: 1.314 MB / 1.392 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/1.391, allocations: 370.6 kB / 1.392 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/1.392, allocations: 0.6903 MB / 1.393 GB, free: 1.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/1.394, allocations: 495.5 kB / 1.393 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/1.394, allocations: 52.09 kB / 1.393 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/1.396, allocations: 0.9422 MB / 1.394 GB, free: 428 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/1.397, allocations: 211.5 kB / 1.394 GB, free: 280 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/1.397, allocations: 338.2 kB / 1.395 GB, free: 64 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/1.4, allocations: 1.142 MB / 1.396 GB, free: 15.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.4, allocations: 0 / 1.396 GB, free: 15.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.345e-06/1.4, allocations: 0 / 1.396 GB, free: 15.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.4, allocations: 1.031 kB / 1.396 GB, free: 15.34 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003006/1.403, allocations: 0.969 MB / 1.397 GB, free: 14.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.403, allocations: 9.844 kB / 1.397 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/1.404, allocations: 266.2 kB / 1.397 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.406, allocations: 0.4928 MB / 1.397 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/1.406, allocations: 37.72 kB / 1.397 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/1.406, allocations: 42.41 kB / 1.397 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.407, allocations: 0.6037 MB / 1.398 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.407, allocations: 3.938 kB / 1.398 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/1.407, allocations: 21.94 kB / 1.398 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/1.407, allocations: 20.95 kB / 1.398 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/1.409, allocations: 0.544 MB / 1.399 GB, free: 13.32 MB / 1.076 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.004523/1.413, allocations: 2.271 MB / 1.401 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/1.414, allocations: 270.3 kB / 1.401 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/1.415, allocations: 168.3 kB / 1.401 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/1.415, allocations: 5.266 kB / 1.401 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.415, allocations: 41.88 kB / 1.401 GB, free: 11.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/1.415, allocations: 0 / 1.401 GB, free: 11.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005281/1.42, allocations: 1.088 MB / 1.402 GB, free: 10.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.42, allocations: 78.48 kB / 1.402 GB, free: 10.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/1.421, allocations: 0.5478 MB / 1.403 GB, free: 10.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/1.421, allocations: 35.23 kB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/1.421, allocations: 304.6 kB / 1.403 GB, free: 9.875 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/1.421, allocations: 46.48 kB / 1.403 GB, free: 9.836 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.421, allocations: 56.19 kB / 1.403 GB, free: 9.797 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.422, allocations: 365.8 kB / 1.404 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/1.422, allocations: 186.8 kB / 1.404 GB, free: 9.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/1.423, allocations: 270.3 kB / 1.404 GB, free: 9.168 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.424, allocations: 401.3 kB / 1.405 GB, free: 8.926 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.424, allocations: 0 / 1.405 GB, free: 8.926 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002652/1.427, allocations: 0.737 MB / 1.405 GB, free: 8.547 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.427, allocations: 9.562 kB / 1.405 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.427, allocations: 2.625 kB / 1.405 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/1.427, allocations: 177.9 kB / 1.405 GB, free: 8.465 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/1.428, allocations: 78.31 kB / 1.406 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.432, allocations: 2.237 MB / 1.408 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/1.432, allocations: 74.95 kB / 1.408 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/1.433, allocations: 14.42 kB / 1.408 GB, free: 6.492 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003458/1.433, allocations: 192.1 kB / 1.408 GB, free: 6.328 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.433, allocations: 50 kB / 1.408 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/1.433, allocations: 47.94 kB / 1.408 GB, free: 6.273 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.433, allocations: 6.531 kB / 1.408 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/1.433, allocations: 0 / 1.408 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.433, allocations: 3.984 kB / 1.408 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/1.436, allocations: 1.14 MB / 1.409 GB, free: 5.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.436, allocations: 0 / 1.409 GB, free: 5.457 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/1.436, allocations: 39.11 kB / 1.409 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005603/1.437, allocations: 180.6 kB / 1.409 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/1.437, allocations: 6.906 kB / 1.409 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/1.441, allocations: 2.197 MB / 1.412 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.441, allocations: 0 / 1.412 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/1.443, allocations: 0.701 MB / 1.412 GB, free: 3.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/1.444, allocations: 168.5 kB / 1.412 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/1.444, allocations: 2.469 kB / 1.412 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/1.444, allocations: 49.27 kB / 1.412 GB, free: 2.863 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/1.444, allocations: 21.23 kB / 1.412 GB, free: 2.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/1.444, allocations: 19.27 kB / 1.412 GB, free: 2.836 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005149/1.445, allocations: 388.8 kB / 1.413 GB, free: 2.613 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.445, allocations: 0 / 1.413 GB, free: 2.613 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007151/1.446, allocations: 190.3 kB / 1.413 GB, free: 2.578 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.000502/1.446, allocations: 178 kB / 1.413 GB, free: 2.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001576/1.448, allocations: 0.5206 MB / 1.414 GB, free: 2.145 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.448, allocations: 384 / 1.414 GB, free: 2.145 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/1.448, allocations: 297.6 kB / 1.414 GB, free: 1.938 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.45, allocations: 297.9 kB / 1.414 GB, free: 1.785 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.453, allocations: 1.085 MB / 1.415 GB, free: 1.141 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.454, allocations: 0.8629 MB / 1.416 GB, free: 364 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004757/1.454, allocations: 109.1 kB / 1.416 GB, free: 316 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.454, allocations: 32.88 kB / 1.416 GB, free: 308 kB / 1.076 GB Notification: Performance of SimCode: time 1.583e-06/1.454, allocations: 0 / 1.416 GB, free: 308 kB / 1.076 GB Notification: Performance of Templates: time 0.02522/1.479, allocations: 12.65 MB / 1.429 GB, free: 5.68 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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: 9.641192011535168]