Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0112/0.0112, allocations: 99.95 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 190.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9269, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2073/1.134, allocations: 171 MB / 1.255 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007047/1.141, allocations: 4.29 MB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000839/1.142, allocations: 23.88 kB / 1.259 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/1.143, allocations: 358 kB / 1.259 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/1.146, allocations: 1.034 MB / 1.26 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/1.148, allocations: 0.8217 MB / 1.261 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001779/1.15, allocations: 1.301 MB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/1.151, allocations: 490.8 kB / 1.263 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/1.152, allocations: 0.6811 MB / 1.264 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/1.153, allocations: 457.1 kB / 1.264 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/1.153, allocations: 52 kB / 1.264 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/1.155, allocations: 0.9199 MB / 1.265 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/1.155, allocations: 219.4 kB / 1.265 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/1.155, allocations: 334.5 kB / 1.266 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/1.157, allocations: 1.133 MB / 1.267 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.157, allocations: 0 / 1.267 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.157, allocations: 0 / 1.267 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.157, allocations: 0 / 1.267 GB, free: 6.633 MB / 0.9981 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.001644/1.159, allocations: 0.9727 MB / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/1.159, allocations: 8.031 kB / 1.268 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.16, allocations: 267.4 kB / 1.268 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/1.161, allocations: 0.4939 MB / 1.268 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/1.161, allocations: 32.98 kB / 1.268 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.162, allocations: 40 kB / 1.268 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/1.163, allocations: 0.6223 MB / 1.269 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.163, allocations: 0 / 1.269 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/1.163, allocations: 16 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/1.163, allocations: 17 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/1.165, allocations: 0.5542 MB / 1.27 GB, free: 3.496 MB / 0.9981 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.004411/1.169, allocations: 2.265 MB / 1.272 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.17, allocations: 278.3 kB / 1.272 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/1.171, allocations: 168.7 kB / 1.272 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/1.171, allocations: 7.875 kB / 1.272 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.171, allocations: 42.56 kB / 1.272 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 3.477e-06/1.171, allocations: 3.984 kB / 1.272 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005353/1.176, allocations: 1.08 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.176, allocations: 77.33 kB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/1.177, allocations: 0.5651 MB / 1.274 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.177, allocations: 33.7 kB / 1.274 GB, free: 14.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/1.177, allocations: 304.1 kB / 1.274 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/1.177, allocations: 43.67 kB / 1.274 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/1.177, allocations: 57.66 kB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.178, allocations: 358.8 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/1.178, allocations: 183.8 kB / 1.275 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/1.179, allocations: 270.8 kB / 1.275 GB, free: 13.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.18, allocations: 411.7 kB / 1.276 GB, free: 13.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.18, allocations: 0 / 1.276 GB, free: 13.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002898/1.183, allocations: 0.7319 MB / 1.276 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.183, allocations: 8 kB / 1.276 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.183, allocations: 0 / 1.276 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/1.184, allocations: 188.8 kB / 1.276 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/1.184, allocations: 67.88 kB / 1.277 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.188, allocations: 2.229 MB / 1.279 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/1.189, allocations: 75.69 kB / 1.279 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/1.189, allocations: 8.188 kB / 1.279 GB, free: 9.648 MB / 1.014 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.0003346/1.19, allocations: 189.8 kB / 1.279 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.19, allocations: 55.66 kB / 1.279 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/1.19, allocations: 55.98 kB / 1.279 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.19, allocations: 4 kB / 1.279 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.19, allocations: 0 / 1.279 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.19, allocations: 7.922 kB / 1.279 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/1.193, allocations: 1.137 MB / 1.28 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.193, allocations: 0 / 1.28 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/1.193, allocations: 40.02 kB / 1.28 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/1.194, allocations: 180.7 kB / 1.28 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.194, allocations: 11.98 kB / 1.28 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/1.198, allocations: 2.179 MB / 1.283 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.198, allocations: 0 / 1.283 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/1.2, allocations: 0.7042 MB / 1.283 GB, free: 4.844 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/1.201, allocations: 172.7 kB / 1.283 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/1.201, allocations: 7.984 kB / 1.283 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/1.201, allocations: 52.7 kB / 1.283 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.201, allocations: 11.98 kB / 1.283 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/1.202, allocations: 11.98 kB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004924/1.202, allocations: 398.8 kB / 1.284 GB, free: 4.188 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.379e-06/1.202, allocations: 4 kB / 1.284 GB, free: 4.184 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006606/1.203, allocations: 179.7 kB / 1.284 GB, free: 4.008 MB / 1.014 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.0004409/1.203, allocations: 175 kB / 1.284 GB, free: 3.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.205, allocations: 0.5242 MB / 1.285 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.205, allocations: 0 / 1.285 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/1.206, allocations: 303.1 kB / 1.285 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.207, allocations: 303.6 kB / 1.285 GB, free: 2.703 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/1.21, allocations: 1.093 MB / 1.286 GB, free: 1.574 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/1.211, allocations: 0.862 MB / 1.287 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003625/1.211, allocations: 104.5 kB / 1.287 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/1.211, allocations: 39.42 kB / 1.287 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.211, allocations: 0 / 1.287 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of Templates: time 0.02088/1.232, allocations: 12.46 MB / 1.3 GB, free: 4.262 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches