Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.02e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6059/0.606, allocations: 150.8 MB / 1.129 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.611, allocations: 4.03 MB / 1.133 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.6114, allocations: 31.03 kB / 1.133 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.6123, allocations: 336.5 kB / 1.134 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.6142, allocations: 1.068 MB / 1.135 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.6159, allocations: 0.8496 MB / 1.136 GB, free: 8.629 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.6172, allocations: 1.332 MB / 1.137 GB, free: 7.852 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.6177, allocations: 379 kB / 1.137 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.6189, allocations: 0.8932 MB / 1.138 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/0.6198, allocations: 419.2 kB / 1.139 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.6198, allocations: 52.38 kB / 1.139 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.621, allocations: 0.7639 MB / 1.139 GB, free: 6.41 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.6212, allocations: 232.1 kB / 1.14 GB, free: 6.246 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.6214, allocations: 234.7 kB / 1.14 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.6227, allocations: 1.172 MB / 1.141 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6227, allocations: 0 / 1.141 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6227, allocations: 1.594 kB / 1.141 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6227, allocations: 0 / 1.141 GB, free: 5.398 MB / 0.9792 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.001268/0.6239, allocations: 0.8909 MB / 1.142 GB, free: 4.699 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.624, allocations: 8.25 kB / 1.142 GB, free: 4.699 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/0.6248, allocations: 267.8 kB / 1.142 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.6254, allocations: 436.6 kB / 1.143 GB, free: 4.238 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.6255, allocations: 29.5 kB / 1.143 GB, free: 4.227 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.6255, allocations: 39.5 kB / 1.143 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.6264, allocations: 0.9047 MB / 1.143 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6264, allocations: 3.938 kB / 1.143 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.6265, allocations: 21.02 kB / 1.143 GB, free: 3.457 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.6265, allocations: 17.03 kB / 1.143 GB, free: 3.457 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.6273, allocations: 0.5461 MB / 1.144 GB, free: 3.195 MB / 0.9792 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.002133/0.6294, allocations: 1.79 MB / 1.146 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.6299, allocations: 273 kB / 1.146 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.6302, allocations: 162.7 kB / 1.146 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.6302, allocations: 0 / 1.146 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6302, allocations: 37.38 kB / 1.146 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.6302, allocations: 4 kB / 1.146 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.002468/0.6327, allocations: 1.017 MB / 1.147 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.6327, allocations: 79.33 kB / 1.147 GB, free: 1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.6331, allocations: 420.7 kB / 1.148 GB, free: 0.7383 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.6331, allocations: 32.83 kB / 1.148 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.6332, allocations: 320.1 kB / 1.148 GB, free: 424 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.6333, allocations: 41.72 kB / 1.148 GB, free: 388 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.6333, allocations: 67.36 kB / 1.148 GB, free: 336 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6335, allocations: 347 kB / 1.148 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.6338, allocations: 187.3 kB / 1.149 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.6341, allocations: 299 kB / 1.149 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.6347, allocations: 408.2 kB / 1.149 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6347, allocations: 0 / 1.149 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001278/0.636, allocations: 0.7128 MB / 1.15 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.636, allocations: 12.19 kB / 1.15 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.636, allocations: 0 / 1.15 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.6364, allocations: 188.4 kB / 1.15 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.6366, allocations: 67.8 kB / 1.15 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.6387, allocations: 2.074 MB / 1.152 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.639, allocations: 58.36 kB / 1.152 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.639, allocations: 16.23 kB / 1.152 GB, free: 13.22 MB / 0.9948 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.0001695/0.6392, allocations: 194.4 kB / 1.153 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.6392, allocations: 38.7 kB / 1.153 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.6393, allocations: 44.67 kB / 1.153 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6393, allocations: 2.562 kB / 1.153 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.6393, allocations: 4 kB / 1.153 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6393, allocations: 0 / 1.153 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.6407, allocations: 0.9945 MB / 1.154 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6407, allocations: 0 / 1.154 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.6408, allocations: 46.62 kB / 1.154 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.6411, allocations: 183.2 kB / 1.154 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6411, allocations: 2.719 kB / 1.154 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.6429, allocations: 2.039 MB / 1.156 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6429, allocations: 0 / 1.156 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6441, allocations: 0.6867 MB / 1.156 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6442, allocations: 78.5 kB / 1.157 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.6442, allocations: 10 kB / 1.157 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.6445, allocations: 47.66 kB / 1.157 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.6445, allocations: 15.03 kB / 1.157 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.6446, allocations: 19.39 kB / 1.157 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001968/0.6448, allocations: 290.2 kB / 1.157 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6448, allocations: 0 / 1.157 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003913/0.6451, allocations: 196.8 kB / 1.157 GB, free: 9.816 MB / 0.9948 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.0002487/0.6454, allocations: 168.9 kB / 1.157 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008104/0.6462, allocations: 0.5137 MB / 1.158 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6462, allocations: 0 / 1.158 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.6465, allocations: 292.6 kB / 1.158 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.6471, allocations: 200.6 kB / 1.158 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.6487, allocations: 1.072 MB / 1.159 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.6488, allocations: 257.2 kB / 1.16 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.6489, allocations: 32.62 kB / 1.16 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of SimCode: time 5.11e-07/0.6489, allocations: 0 / 1.16 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of Templates: time 0.00763/0.6566, allocations: 9.969 MB / 1.169 GB, free: 20 kB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.463401095941663]