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.0007883/0.0007883, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007957/0.0007957, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8622/0.8622, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.638/1.638, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.192e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5295/0.5295, allocations: 150.8 MB / 1.128 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.5329, allocations: 4.025 MB / 1.132 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.5331, allocations: 34.69 kB / 1.132 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.5337, allocations: 339.8 kB / 1.133 GB, free: 8.262 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.535, allocations: 1.066 MB / 1.134 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.5361, allocations: 0.8516 MB / 1.134 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009223/0.537, allocations: 1.333 MB / 1.136 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.5374, allocations: 365.6 kB / 1.136 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008303/0.5382, allocations: 0.9009 MB / 1.137 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.5388, allocations: 414.8 kB / 1.137 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.5389, allocations: 52.25 kB / 1.137 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.5396, allocations: 0.7635 MB / 1.138 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.5398, allocations: 225.7 kB / 1.138 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.54, allocations: 235 kB / 1.139 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.541, allocations: 1.174 MB / 1.14 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.541, allocations: 7.938 kB / 1.14 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.541, allocations: 0 / 1.14 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.541, allocations: 1.312 kB / 1.14 GB, free: 5.07 MB / 0.9948 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.000982/0.542, allocations: 0.8796 MB / 1.141 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.542, allocations: 9.219 kB / 1.141 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.5421, allocations: 89.2 kB / 1.141 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.5429, allocations: 269.5 kB / 1.141 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.5434, allocations: 442.5 kB / 1.141 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.5434, allocations: 29.94 kB / 1.141 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.5434, allocations: 42.47 kB / 1.141 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.5442, allocations: 0.8933 MB / 1.142 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5442, allocations: 0 / 1.142 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.5443, allocations: 17.38 kB / 1.142 GB, free: 3.402 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.5443, allocations: 22.92 kB / 1.142 GB, free: 3.398 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.5451, allocations: 0.5477 MB / 1.143 GB, free: 3.234 MB / 0.9948 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.002022/0.5471, allocations: 1.898 MB / 1.145 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.5476, allocations: 282.3 kB / 1.145 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.5478, allocations: 165.7 kB / 1.145 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5478, allocations: 2.688 kB / 1.145 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.5479, allocations: 38.2 kB / 1.145 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.5479, allocations: 0 / 1.145 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.002405/0.5503, allocations: 1.006 MB / 1.146 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.5503, allocations: 88.09 kB / 1.146 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.5507, allocations: 0.56 MB / 1.147 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5507, allocations: 31.86 kB / 1.147 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5508, allocations: 300.2 kB / 1.147 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.5509, allocations: 45.06 kB / 1.147 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.5509, allocations: 58.09 kB / 1.147 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.551, allocations: 360.1 kB / 1.148 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.5513, allocations: 189.6 kB / 1.148 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.5517, allocations: 296.9 kB / 1.148 GB, free: 440 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.5522, allocations: 406.5 kB / 1.148 GB, free: 256 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5522, allocations: 1.438 kB / 1.148 GB, free: 256 kB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001285/0.5535, allocations: 0.7242 MB / 1.149 GB, free: 32 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5535, allocations: 5.531 kB / 1.149 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5535, allocations: 2.125 kB / 1.149 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.5539, allocations: 190.2 kB / 1.149 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.5541, allocations: 69.09 kB / 1.149 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.5564, allocations: 2.107 MB / 1.151 GB, free: 14.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.5566, allocations: 78.95 kB / 1.152 GB, free: 14.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.5567, allocations: 14.22 kB / 1.152 GB, free: 14.4 MB / 1.01 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.0001635/0.5568, allocations: 187.8 kB / 1.152 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.5569, allocations: 53.62 kB / 1.152 GB, free: 14.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.557, allocations: 53.2 kB / 1.152 GB, free: 14.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.557, allocations: 1.156 kB / 1.152 GB, free: 14.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.557, allocations: 1.828 kB / 1.152 GB, free: 14.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.557, allocations: 6.375 kB / 1.152 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.5586, allocations: 1.039 MB / 1.153 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5586, allocations: 1.125 kB / 1.153 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5587, allocations: 45.69 kB / 1.153 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/0.5591, allocations: 176.6 kB / 1.153 GB, free: 13.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.5591, allocations: 7.5 kB / 1.153 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5611, allocations: 2.053 MB / 1.155 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5611, allocations: 5.25 kB / 1.155 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5626, allocations: 0.6974 MB / 1.156 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.563, allocations: 94.03 kB / 1.156 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.563, allocations: 5.672 kB / 1.156 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.5634, allocations: 49.08 kB / 1.156 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.5635, allocations: 18.09 kB / 1.156 GB, free: 11.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.5636, allocations: 15.84 kB / 1.156 GB, free: 11.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004385/0.564, allocations: 394.9 kB / 1.156 GB, free: 11.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.564, allocations: 3.938 kB / 1.156 GB, free: 11.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005921/0.5646, allocations: 185.6 kB / 1.156 GB, free: 11.56 MB / 1.01 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.001893/0.5665, allocations: 1.311 MB / 1.158 GB, free: 10.71 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.5675, allocations: 0.5204 MB / 1.158 GB, free: 10.49 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5675, allocations: 3.812 kB / 1.158 GB, free: 10.49 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.5679, allocations: 296.9 kB / 1.159 GB, free: 10.33 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.5689, allocations: 304.3 kB / 1.159 GB, free: 10.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.5762, allocations: 5.051 MB / 1.164 GB, free: 7.738 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.5764, allocations: 261.7 kB / 1.164 GB, free: 7.629 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.5769, allocations: 105.1 kB / 1.164 GB, free: 7.602 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.5771, allocations: 163.1 kB / 1.164 GB, free: 7.48 MB / 1.01 GB Notification: Performance of SimCode: time 1.352e-06/0.5771, allocations: 0 / 1.164 GB, free: 7.48 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.6111, allocations: 18.37 MB / 1.182 GB, free: 1.957 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.307, allocations: 9.234 kB / 1.182 GB, free: 1.953 MB / 1.01 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] 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: 12.116691431961954]