Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001568/0.001568, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001886/0.001887, allocations: 193 kB / 16.25 MB, free: 6.637 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.47 kB / 0.9116 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1764/0.4812, allocations: 168.7 MB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006508/0.4877, allocations: 4.267 MB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.4886, allocations: 19.88 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4897, allocations: 314.5 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.4922, allocations: 0.9336 MB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4943, allocations: 0.7444 MB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.4959, allocations: 1.29 MB / 1.24 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.4965, allocations: 475.3 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.4977, allocations: 0.6655 MB / 1.241 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.4988, allocations: 481.5 kB / 1.241 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.351e-05/0.4989, allocations: 59.88 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.5005, allocations: 0.9315 MB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.5007, allocations: 219.4 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.5011, allocations: 342.5 kB / 1.243 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5025, allocations: 1.169 MB / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5025, allocations: 3.938 kB / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5025, allocations: 0 / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5026, allocations: 0 / 1.244 GB, free: 5.555 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.001596/0.5042, allocations: 0.9468 MB / 1.245 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5042, allocations: 11.97 kB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.5059, allocations: 267 kB / 1.245 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.5067, allocations: 485.4 kB / 1.246 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.507, allocations: 84.94 kB / 1.246 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.5071, allocations: 40 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.5084, allocations: 0.6263 MB / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5084, allocations: 0 / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.5085, allocations: 23.98 kB / 1.246 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.5085, allocations: 17 kB / 1.247 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.5099, allocations: 0.562 MB / 1.247 GB, free: 2.395 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.6032/1.113, allocations: 2.268 MB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.114, allocations: 293.6 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/1.115, allocations: 177.2 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/1.115, allocations: 3.078 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.115, allocations: 37.8 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.115, allocations: 0 / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005532/1.121, allocations: 1.099 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.121, allocations: 89.78 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/1.121, allocations: 0.5527 MB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/1.121, allocations: 29.42 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.122, allocations: 302.1 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/1.122, allocations: 43.84 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.122, allocations: 57.72 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/1.122, allocations: 357.3 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/1.123, allocations: 195.3 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/1.123, allocations: 273.5 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.125, allocations: 414.8 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.125, allocations: 0.875 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00268/1.127, allocations: 0.7352 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.127, allocations: 8 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.127, allocations: 3.344 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/1.128, allocations: 182.2 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.128, allocations: 80.89 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/1.132, allocations: 2.237 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/1.133, allocations: 89.98 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/1.133, allocations: 11.41 kB / 1.256 GB, free: 183.7 MB / 0.9981 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.0002619/1.133, allocations: 188.7 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.133, allocations: 53.09 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/1.133, allocations: 48.14 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.133, allocations: 5.156 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.133, allocations: 3.422 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.133, allocations: 3.469 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/1.136, allocations: 1.149 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.136, allocations: 0.7969 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/1.137, allocations: 41.31 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/1.137, allocations: 185.6 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.137, allocations: 3.594 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/1.14, allocations: 2.186 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.14, allocations: 8.609 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/1.143, allocations: 0.7123 MB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/1.143, allocations: 171.1 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/1.143, allocations: 7.219 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/1.144, allocations: 66.08 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/1.144, allocations: 12.28 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/1.144, allocations: 15.97 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004792/1.144, allocations: 392.8 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.144, allocations: 0 / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007044/1.145, allocations: 178.7 kB / 1.262 GB, free: 181.4 MB / 0.9981 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.000424/1.146, allocations: 172 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001547/1.147, allocations: 0.5387 MB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.147, allocations: 2.906 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/1.148, allocations: 313.2 kB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.149, allocations: 314 kB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/1.152, allocations: 1.235 MB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/1.152, allocations: 0.8585 MB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004529/1.153, allocations: 106.8 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/1.153, allocations: 35.73 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.153, allocations: 0 / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0263/1.179, allocations: 12.29 MB / 1.277 GB, free: 177 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches