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.001315/0.001315, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001275/0.001275, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.586 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.654/2.654, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.001924/0.001924, allocations: 63.91 kB / 1.057 GB, free: 1.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8627/1.19, allocations: 171.6 MB / 1.382 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007734/1.198, allocations: 4.297 MB / 1.386 GB, free: 5.285 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009123/1.199, allocations: 22.47 kB / 1.386 GB, free: 5.277 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/1.2, allocations: 365.6 kB / 1.386 GB, free: 5.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/1.203, allocations: 1.027 MB / 1.387 GB, free: 4.441 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/1.205, allocations: 0.821 MB / 1.388 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002217/1.208, allocations: 1.297 MB / 1.389 GB, free: 3.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/1.208, allocations: 416.7 kB / 1.39 GB, free: 2.832 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/1.21, allocations: 0.6986 MB / 1.39 GB, free: 2.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.212, allocations: 478.3 kB / 1.391 GB, free: 2.133 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/1.212, allocations: 51.16 kB / 1.391 GB, free: 2.133 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/1.214, allocations: 0.9423 MB / 1.392 GB, free: 1.609 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/1.214, allocations: 223.4 kB / 1.392 GB, free: 1.453 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/1.215, allocations: 325.8 kB / 1.392 GB, free: 1.254 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/1.217, allocations: 1.134 MB / 1.393 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.217, allocations: 5.094 kB / 1.393 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/1.217, allocations: 0 / 1.393 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.829e-05/1.217, allocations: 0 / 1.393 GB, free: 0.5312 MB / 1.061 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.002034/1.219, allocations: 0.975 MB / 1.394 GB, free: 15.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.219, allocations: 10.03 kB / 1.394 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/1.221, allocations: 266.6 kB / 1.395 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.222, allocations: 0.4933 MB / 1.395 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/1.222, allocations: 37.72 kB / 1.395 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/1.222, allocations: 38.34 kB / 1.395 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/1.223, allocations: 0.6108 MB / 1.396 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.223, allocations: 5.062 kB / 1.396 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/1.223, allocations: 16.66 kB / 1.396 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.223, allocations: 22.47 kB / 1.396 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/1.225, allocations: 0.5478 MB / 1.396 GB, free: 14.5 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.004633/1.23, allocations: 2.267 MB / 1.399 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/1.231, allocations: 274.8 kB / 1.399 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/1.231, allocations: 159.5 kB / 1.399 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.231, allocations: 1.812 kB / 1.399 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.231, allocations: 42.78 kB / 1.399 GB, free: 12.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/1.231, allocations: 0 / 1.399 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005288/1.236, allocations: 1.084 MB / 1.4 GB, free: 11.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.237, allocations: 82.42 kB / 1.4 GB, free: 11.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/1.237, allocations: 0.548 MB / 1.401 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/1.237, allocations: 31.27 kB / 1.401 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/1.238, allocations: 313.1 kB / 1.401 GB, free: 11.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/1.238, allocations: 45.27 kB / 1.401 GB, free: 11.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/1.238, allocations: 61.67 kB / 1.401 GB, free: 10.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002335/1.238, allocations: 357.1 kB / 1.401 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/1.239, allocations: 190.6 kB / 1.402 GB, free: 10.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/1.239, allocations: 265.3 kB / 1.402 GB, free: 10.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.241, allocations: 410.1 kB / 1.402 GB, free: 10.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.241, allocations: 11.62 kB / 1.402 GB, free: 10.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002714/1.243, allocations: 0.7251 MB / 1.403 GB, free: 9.734 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.243, allocations: 5.844 kB / 1.403 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.243, allocations: 5.344 kB / 1.403 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/1.244, allocations: 189 kB / 1.403 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.244, allocations: 69.66 kB / 1.403 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/1.249, allocations: 2.235 MB / 1.405 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/1.249, allocations: 80.58 kB / 1.405 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/1.249, allocations: 6.75 kB / 1.406 GB, free: 7.68 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.000345/1.25, allocations: 188.4 kB / 1.406 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.25, allocations: 49.91 kB / 1.406 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/1.25, allocations: 59.05 kB / 1.406 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/1.25, allocations: 3.938 kB / 1.406 GB, free: 7.453 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.25, allocations: 0 / 1.406 GB, free: 7.453 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.25, allocations: 2.125 kB / 1.406 GB, free: 7.453 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.253, allocations: 1.134 MB / 1.407 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.253, allocations: 2.938 kB / 1.407 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/1.253, allocations: 39.2 kB / 1.407 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/1.254, allocations: 175.7 kB / 1.407 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/1.254, allocations: 6.484 kB / 1.407 GB, free: 6.551 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/1.258, allocations: 2.194 MB / 1.409 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.258, allocations: 6.156 kB / 1.409 GB, free: 4.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.26, allocations: 0.7015 MB / 1.41 GB, free: 4.227 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/1.261, allocations: 167.4 kB / 1.41 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/1.261, allocations: 2.25 kB / 1.41 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/1.261, allocations: 53.52 kB / 1.41 GB, free: 4.051 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/1.261, allocations: 17.23 kB / 1.41 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/1.261, allocations: 15.11 kB / 1.41 GB, free: 4.031 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004831/1.262, allocations: 396.3 kB / 1.411 GB, free: 3.801 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.262, allocations: 3.938 kB / 1.411 GB, free: 3.797 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006537/1.263, allocations: 183.2 kB / 1.411 GB, free: 3.77 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.0004652/1.263, allocations: 182.4 kB / 1.411 GB, free: 3.645 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.265, allocations: 0.5229 MB / 1.411 GB, free: 3.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.265, allocations: 2.531 kB / 1.411 GB, free: 3.328 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007376/1.265, allocations: 290.5 kB / 1.412 GB, free: 3.129 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.267, allocations: 314.8 kB / 1.412 GB, free: 2.969 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.27, allocations: 1.109 MB / 1.413 GB, free: 2.293 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/1.271, allocations: 0.8655 MB / 1.414 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.271, allocations: 45.17 kB / 1.414 GB, free: 1.488 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/1.271, allocations: 0 / 1.414 GB, free: 1.488 MB / 1.076 GB Notification: Performance of Templates: time 0.01751/1.288, allocations: 11.16 MB / 1.425 GB, free: 8.578 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.754864508053288]