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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_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.001431/0.001431, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001556/0.001556, allocations: 190.5 kB / 17.29 MB, free: 5.48 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 68.14 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6547/0.9167, allocations: 171 MB / 1.186 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006207/0.9229, allocations: 4.283 MB / 1.19 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.9235, allocations: 22.16 kB / 1.19 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009714/0.9246, allocations: 350.1 kB / 1.19 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.9269, allocations: 0.9989 MB / 1.191 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.929, allocations: 0.8139 MB / 1.192 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.9305, allocations: 1.299 MB / 1.193 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.9311, allocations: 481.2 kB / 1.194 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.9322, allocations: 0.6767 MB / 1.194 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009427/0.9332, allocations: 459.6 kB / 1.195 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.9333, allocations: 50.59 kB / 1.195 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.9347, allocations: 0.9005 MB / 1.196 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.935, allocations: 218.6 kB / 1.196 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.9354, allocations: 323.4 kB / 1.196 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.937, allocations: 1.134 MB / 1.197 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.937, allocations: 0 / 1.197 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.937, allocations: 0 / 1.197 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.937, allocations: 0 / 1.197 GB, free: 12.24 MB / 0.9044 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.001652/0.9387, allocations: 0.9476 MB / 1.198 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9387, allocations: 12.42 kB / 1.198 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.9404, allocations: 267 kB / 1.199 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.9414, allocations: 496 kB / 1.199 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.9414, allocations: 38.38 kB / 1.199 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.9415, allocations: 43.94 kB / 1.199 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.9427, allocations: 0.6122 MB / 1.2 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9428, allocations: 1.938 kB / 1.2 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.9428, allocations: 21.69 kB / 1.2 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.9429, allocations: 20.12 kB / 1.2 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.9442, allocations: 0.5442 MB / 1.2 GB, free: 10.23 MB / 0.9044 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.004095/0.9483, allocations: 2.262 MB / 1.203 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.9492, allocations: 283.5 kB / 1.203 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.9497, allocations: 174.1 kB / 1.203 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.9498, allocations: 2.219 kB / 1.203 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.9498, allocations: 41.41 kB / 1.203 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.9498, allocations: 3.938 kB / 1.203 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.005025/0.9549, allocations: 1.084 MB / 1.204 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.9549, allocations: 79.33 kB / 1.204 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.9556, allocations: 0.5491 MB / 1.205 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.9556, allocations: 25.7 kB / 1.205 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.9558, allocations: 308.2 kB / 1.205 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.9559, allocations: 38.33 kB / 1.205 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.956, allocations: 68.5 kB / 1.205 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9561, allocations: 359 kB / 1.205 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.9567, allocations: 190.8 kB / 1.206 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.9574, allocations: 268.7 kB / 1.206 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.9584, allocations: 406.5 kB / 1.206 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9585, allocations: 2.562 kB / 1.206 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002565/0.961, allocations: 0.7297 MB / 1.207 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9611, allocations: 9.188 kB / 1.207 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9611, allocations: 6.844 kB / 1.207 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.9617, allocations: 185.4 kB / 1.207 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.9621, allocations: 70.39 kB / 1.207 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.9658, allocations: 2.229 MB / 1.209 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.9666, allocations: 72.02 kB / 1.21 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.9666, allocations: 23.39 kB / 1.21 GB, free: 3.402 MB / 0.9044 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.0002517/0.9669, allocations: 185.1 kB / 1.21 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.967, allocations: 50.94 kB / 1.21 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.9671, allocations: 53.5 kB / 1.21 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9671, allocations: 3.938 kB / 1.21 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.9671, allocations: 0 / 1.21 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9672, allocations: 6.469 kB / 1.21 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.9702, allocations: 1.132 MB / 1.211 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.9702, allocations: 0 / 1.211 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.9704, allocations: 36.95 kB / 1.211 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.9709, allocations: 190.8 kB / 1.211 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.971, allocations: 2.781 kB / 1.211 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.9744, allocations: 2.183 MB / 1.213 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9744, allocations: 3.5 kB / 1.213 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.9768, allocations: 0.7001 MB / 1.214 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.9771, allocations: 170.8 kB / 1.214 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.9772, allocations: 4 kB / 1.214 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.9778, allocations: 43.81 kB / 1.214 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.9778, allocations: 24.36 kB / 1.214 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.9779, allocations: 11.77 kB / 1.214 GB, free: 15.77 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004339/0.9783, allocations: 397.6 kB / 1.215 GB, free: 15.54 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9783, allocations: 0 / 1.215 GB, free: 15.54 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006596/0.979, allocations: 180.4 kB / 1.215 GB, free: 15.45 MB / 0.92 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.0003967/0.9794, allocations: 178.4 kB / 1.215 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.981, allocations: 0.5218 MB / 1.215 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.981, allocations: 0 / 1.215 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.9817, allocations: 307 kB / 1.216 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.983, allocations: 302.5 kB / 1.216 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.986, allocations: 1.066 MB / 1.217 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.9864, allocations: 0.8582 MB / 1.218 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003694/0.9868, allocations: 108.5 kB / 1.218 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.9869, allocations: 35.44 kB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of SimCode: time 4.3e-07/0.9869, allocations: 3.938 kB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of Templates: time 0.01907/1.006, allocations: 12.38 MB / 1.23 GB, free: 15.8 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches