Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001771/0.001771, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001961/0.001961, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7721/1.134, allocations: 168.7 MB / 1.229 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007098/1.141, allocations: 4.254 MB / 1.233 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/1.142, allocations: 21.06 kB / 1.233 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/1.143, allocations: 311.7 kB / 1.233 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/1.145, allocations: 0.9363 MB / 1.234 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/1.148, allocations: 0.7453 MB / 1.235 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002063/1.15, allocations: 1.296 MB / 1.236 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007279/1.151, allocations: 471.2 kB / 1.237 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/1.152, allocations: 0.6772 MB / 1.237 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/1.153, allocations: 484.2 kB / 1.238 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/1.153, allocations: 52 kB / 1.238 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/1.155, allocations: 0.9353 MB / 1.239 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/1.155, allocations: 211.5 kB / 1.239 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/1.156, allocations: 334.5 kB / 1.239 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/1.157, allocations: 0.8499 MB / 1.24 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.157, allocations: 4 kB / 1.24 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.157, allocations: 0 / 1.24 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.157, allocations: 0 / 1.24 GB, free: 5.004 MB / 0.9512 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.001812/1.159, allocations: 0.9472 MB / 1.241 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.159, allocations: 8.031 kB / 1.241 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/1.161, allocations: 267 kB / 1.241 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/1.162, allocations: 481.5 kB / 1.242 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/1.162, allocations: 88.88 kB / 1.242 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/1.162, allocations: 44 kB / 1.242 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.163, allocations: 0.6271 MB / 1.243 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.163, allocations: 0 / 1.243 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/1.164, allocations: 20 kB / 1.243 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/1.164, allocations: 21 kB / 1.243 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.165, allocations: 0.5581 MB / 1.243 GB, free: 1.848 MB / 0.9512 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.004434/1.17, allocations: 2.273 MB / 1.245 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.171, allocations: 286.3 kB / 1.246 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/1.171, allocations: 176.7 kB / 1.246 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/1.171, allocations: 3.938 kB / 1.246 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.171, allocations: 38.5 kB / 1.246 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/1.171, allocations: 0 / 1.246 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.00533/1.177, allocations: 1.107 MB / 1.247 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.177, allocations: 85.11 kB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/1.177, allocations: 0.5457 MB / 1.248 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/1.178, allocations: 33.7 kB / 1.248 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/1.178, allocations: 303.4 kB / 1.248 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/1.178, allocations: 35.45 kB / 1.248 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.178, allocations: 61.61 kB / 1.248 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.178, allocations: 358.8 kB / 1.248 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/1.179, allocations: 199.7 kB / 1.248 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/1.18, allocations: 269.3 kB / 1.249 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.181, allocations: 412.2 kB / 1.249 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.181, allocations: 3.938 kB / 1.249 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002874/1.184, allocations: 0.7443 MB / 1.25 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.184, allocations: 8 kB / 1.25 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.184, allocations: 0 / 1.25 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/1.184, allocations: 188.7 kB / 1.25 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/1.185, allocations: 67.94 kB / 1.25 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/1.189, allocations: 2.248 MB / 1.252 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.19, allocations: 83.53 kB / 1.252 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.19, allocations: 8 kB / 1.252 GB, free: 7.922 MB / 0.9669 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.0003187/1.19, allocations: 197.7 kB / 1.253 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.19, allocations: 51.44 kB / 1.253 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/1.19, allocations: 51.97 kB / 1.253 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.19, allocations: 3.984 kB / 1.253 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.19, allocations: 4 kB / 1.253 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/1.19, allocations: 0 / 1.253 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/1.194, allocations: 1.152 MB / 1.254 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.194, allocations: 0 / 1.254 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/1.194, allocations: 44.02 kB / 1.254 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/1.195, allocations: 176.7 kB / 1.254 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.195, allocations: 4 kB / 1.254 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/1.199, allocations: 2.201 MB / 1.256 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.199, allocations: 0 / 1.256 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/1.202, allocations: 0.7157 MB / 1.257 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/1.202, allocations: 164.5 kB / 1.257 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/1.202, allocations: 5.25 kB / 1.257 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/1.203, allocations: 63.86 kB / 1.257 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.203, allocations: 11.92 kB / 1.257 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/1.203, allocations: 15.98 kB / 1.257 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005385/1.203, allocations: 398.8 kB / 1.257 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/1.203, allocations: 0 / 1.257 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000708/1.204, allocations: 183.8 kB / 1.258 GB, free: 2.242 MB / 0.9669 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.0004737/1.205, allocations: 186.6 kB / 1.258 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.206, allocations: 0.534 MB / 1.258 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.206, allocations: 0 / 1.258 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007868/1.207, allocations: 311 kB / 1.259 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.208, allocations: 296.1 kB / 1.259 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.212, allocations: 1.287 MB / 1.26 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/1.213, allocations: 0.8582 MB / 1.261 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.213, allocations: 43.42 kB / 1.261 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.213, allocations: 0 / 1.261 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.01837/1.231, allocations: 11.08 MB / 1.272 GB, free: 3.672 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches