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.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.001075/0.001075, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008183/0.0008183, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8758/0.8758, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.76/1.76, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000163/0.0001651, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5368/0.537, allocations: 150.8 MB / 1.147 GB, free: 5.664 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005701/0.5427, allocations: 4.028 MB / 1.151 GB, free: 2.957 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.5434, allocations: 29.81 kB / 1.151 GB, free: 2.941 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.5444, allocations: 335.8 kB / 1.151 GB, free: 2.762 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.5467, allocations: 1.074 MB / 1.152 GB, free: 2.164 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5488, allocations: 0.8541 MB / 1.153 GB, free: 1.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.5516, allocations: 1.336 MB / 1.154 GB, free: 1.102 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007867/0.5524, allocations: 362 kB / 1.155 GB, free: 0.9492 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.5539, allocations: 0.9016 MB / 1.156 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.5549, allocations: 410.9 kB / 1.156 GB, free: 436 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.555, allocations: 55.97 kB / 1.156 GB, free: 432 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.5563, allocations: 0.76 MB / 1.157 GB, free: 184 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.5565, allocations: 229.2 kB / 1.157 GB, free: 72 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.5568, allocations: 234.6 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.5583, allocations: 1.177 MB / 1.158 GB, free: 15.58 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5583, allocations: 1.766 kB / 1.158 GB, free: 15.58 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5583, allocations: 4 kB / 1.158 GB, free: 15.57 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5583, allocations: 0 / 1.158 GB, free: 15.57 MB / 1.026 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.001258/0.5595, allocations: 0.8893 MB / 1.159 GB, free: 14.96 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5596, allocations: 10.53 kB / 1.159 GB, free: 14.96 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.496e-05/0.5597, allocations: 88.45 kB / 1.159 GB, free: 14.89 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.5606, allocations: 261.4 kB / 1.16 GB, free: 14.84 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.5612, allocations: 435.4 kB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.5612, allocations: 29.75 kB / 1.16 GB, free: 14.54 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.5613, allocations: 42.81 kB / 1.16 GB, free: 14.52 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.5622, allocations: 0.8932 MB / 1.161 GB, free: 13.92 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5622, allocations: 0 / 1.161 GB, free: 13.92 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.5623, allocations: 17.5 kB / 1.161 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.5623, allocations: 26.55 kB / 1.161 GB, free: 13.9 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.5631, allocations: 0.547 MB / 1.162 GB, free: 13.74 MB / 1.026 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.002493/0.5656, allocations: 1.893 MB / 1.163 GB, free: 12.61 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.5662, allocations: 274.2 kB / 1.164 GB, free: 12.52 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.5665, allocations: 168.6 kB / 1.164 GB, free: 12.47 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5665, allocations: 1.75 kB / 1.164 GB, free: 12.47 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5665, allocations: 37.83 kB / 1.164 GB, free: 12.43 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.5665, allocations: 0 / 1.164 GB, free: 12.43 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.002757/0.5693, allocations: 1.013 MB / 1.165 GB, free: 12.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5694, allocations: 84.27 kB / 1.165 GB, free: 12.11 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.5699, allocations: 0.5565 MB / 1.165 GB, free: 11.85 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.57, allocations: 31.27 kB / 1.166 GB, free: 11.81 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.5701, allocations: 308.5 kB / 1.166 GB, free: 11.56 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.5702, allocations: 41.23 kB / 1.166 GB, free: 11.53 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.5703, allocations: 58.14 kB / 1.166 GB, free: 11.5 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5704, allocations: 360.4 kB / 1.166 GB, free: 11.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.5707, allocations: 191.5 kB / 1.166 GB, free: 11.11 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.5711, allocations: 297.7 kB / 1.167 GB, free: 10.94 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.5717, allocations: 402.8 kB / 1.167 GB, free: 10.76 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5717, allocations: 0 / 1.167 GB, free: 10.76 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001466/0.5732, allocations: 0.7308 MB / 1.168 GB, free: 10.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5732, allocations: 6.406 kB / 1.168 GB, free: 10.54 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5732, allocations: 2.312 kB / 1.168 GB, free: 10.54 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.5736, allocations: 185 kB / 1.168 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.5738, allocations: 71.72 kB / 1.168 GB, free: 10.48 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.5764, allocations: 2.106 MB / 1.17 GB, free: 8.938 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.5768, allocations: 79.3 kB / 1.17 GB, free: 8.902 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5768, allocations: 11.2 kB / 1.17 GB, free: 8.902 MB / 1.026 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.0002611/0.5771, allocations: 190.1 kB / 1.17 GB, free: 8.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.5772, allocations: 48.75 kB / 1.17 GB, free: 8.727 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.5772, allocations: 56.84 kB / 1.17 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5772, allocations: 5.906 kB / 1.17 GB, free: 8.688 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5772, allocations: 2.078 kB / 1.17 GB, free: 8.688 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5772, allocations: 5.125 kB / 1.171 GB, free: 8.684 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.5791, allocations: 1.039 MB / 1.172 GB, free: 8.191 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5791, allocations: 2.375 kB / 1.172 GB, free: 8.191 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.5792, allocations: 43.69 kB / 1.172 GB, free: 8.184 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/0.5796, allocations: 182.2 kB / 1.172 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5796, allocations: 3.75 kB / 1.172 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.5818, allocations: 2.061 MB / 1.174 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5818, allocations: 1.344 kB / 1.174 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.5832, allocations: 0.6946 MB / 1.174 GB, free: 6.32 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.5834, allocations: 94.11 kB / 1.175 GB, free: 6.273 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.5835, allocations: 6.844 kB / 1.175 GB, free: 6.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.5838, allocations: 49.59 kB / 1.175 GB, free: 6.266 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.5839, allocations: 18.11 kB / 1.175 GB, free: 6.258 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.5839, allocations: 12.47 kB / 1.175 GB, free: 6.258 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004109/0.5843, allocations: 394 kB / 1.175 GB, free: 6.082 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.5843, allocations: 1.156 kB / 1.175 GB, free: 6.082 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005559/0.5849, allocations: 184.4 kB / 1.175 GB, free: 6.055 MB / 1.026 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.001717/0.5866, allocations: 1.308 MB / 1.176 GB, free: 5.215 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0009736/0.5876, allocations: 0.5137 MB / 1.177 GB, free: 4.996 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5876, allocations: 0 / 1.177 GB, free: 4.996 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.5879, allocations: 301.1 kB / 1.177 GB, free: 4.832 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.5889, allocations: 315.7 kB / 1.178 GB, free: 4.738 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.596, allocations: 5.05 MB / 1.182 GB, free: 2.242 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.5962, allocations: 266.8 kB / 1.183 GB, free: 2.129 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003978/0.5966, allocations: 108.3 kB / 1.183 GB, free: 2.098 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5968, allocations: 163.1 kB / 1.183 GB, free: 1.98 MB / 1.026 GB Notification: Performance of SimCode: time 1.302e-06/0.5968, allocations: 0 / 1.183 GB, free: 1.98 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.6311, allocations: 18.37 MB / 1.201 GB, free: 10.26 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/8.192, allocations: 5.719 kB / 1.201 GB, free: 10.26 MB / 1.042 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.139445648528636]