Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008995, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005306/0.005306, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 15.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.537, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1561/0.6931, allocations: 166.6 MB / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005346/0.6984, allocations: 4.292 MB / 1.122 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005378/0.699, allocations: 19.88 kB / 1.122 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007653/0.6998, allocations: 306.5 kB / 1.122 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.7017, allocations: 0.9374 MB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.7033, allocations: 0.72 MB / 1.124 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.705, allocations: 1.805 MB / 1.126 GB, free: 104 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.7056, allocations: 390.4 kB / 1.126 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.7066, allocations: 0.5913 MB / 1.127 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.7075, allocations: 451.8 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.7075, allocations: 20 kB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.7088, allocations: 1.002 MB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.709, allocations: 179.3 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.7093, allocations: 320.2 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.7103, allocations: 1.126 MB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7103, allocations: 0 / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7104, allocations: 0 / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7104, allocations: 8 kB / 1.13 GB, free: 12.03 MB / 0.8887 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.001241/0.7116, allocations: 0.8376 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.7117, allocations: 8.031 kB / 1.13 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.985e-05/0.7118, allocations: 86.52 kB / 1.131 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.7132, allocations: 283 kB / 1.131 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.7139, allocations: 493.4 kB / 1.131 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.7142, allocations: 88.94 kB / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.7143, allocations: 44 kB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.7154, allocations: 0.6458 MB / 1.132 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7154, allocations: 0 / 1.132 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.7155, allocations: 16 kB / 1.132 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.7155, allocations: 21 kB / 1.132 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.7169, allocations: 0.5855 MB / 1.133 GB, free: 8.816 MB / 0.8887 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.003396/0.7203, allocations: 2.319 MB / 1.135 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.7212, allocations: 310.3 kB / 1.135 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.7218, allocations: 192.7 kB / 1.135 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.7218, allocations: 0 / 1.135 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.7218, allocations: 38.56 kB / 1.135 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.7218, allocations: 0 / 1.135 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.004851/0.7267, allocations: 1.186 MB / 1.137 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.7267, allocations: 92.98 kB / 1.137 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.7273, allocations: 0.5495 MB / 1.137 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.7273, allocations: 29.7 kB / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.7275, allocations: 307.4 kB / 1.138 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.7275, allocations: 35.45 kB / 1.138 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.7276, allocations: 29.7 kB / 1.138 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7277, allocations: 358.8 kB / 1.138 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.7283, allocations: 207.8 kB / 1.138 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.7289, allocations: 285.3 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7301, allocations: 446.1 kB / 1.139 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7301, allocations: 0 / 1.139 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002531/0.7326, allocations: 0.7832 MB / 1.14 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7327, allocations: 8 kB / 1.14 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7327, allocations: 8.078 kB / 1.14 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.7332, allocations: 184.7 kB / 1.14 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.7336, allocations: 91.81 kB / 1.14 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2351/0.9687, allocations: 2.104 MB / 1.142 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.9696, allocations: 91.53 kB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.9696, allocations: 8 kB / 1.142 GB, free: 14.77 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.0002954/0.9699, allocations: 194.3 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.97, allocations: 47.44 kB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.9702, allocations: 52.03 kB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9702, allocations: 4.188 kB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9702, allocations: 7.938 kB / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9702, allocations: 0 / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.9733, allocations: 1.195 MB / 1.144 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9733, allocations: 0 / 1.144 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.9736, allocations: 52 kB / 1.144 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.9741, allocations: 188.7 kB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.9741, allocations: 0 / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.9773, allocations: 2.069 MB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9773, allocations: 0 / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.9797, allocations: 0.7626 MB / 1.147 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.9799, allocations: 168.7 kB / 1.147 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.9799, allocations: 8 kB / 1.147 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.9805, allocations: 69.56 kB / 1.147 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.9806, allocations: 11.92 kB / 1.147 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.9806, allocations: 15.98 kB / 1.147 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003951/0.981, allocations: 390.8 kB / 1.147 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.981, allocations: 4 kB / 1.147 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005852/0.9816, allocations: 195.6 kB / 1.147 GB, free: 9.105 MB / 0.9044 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.002933/0.9846, allocations: 1.369 MB / 1.149 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.9861, allocations: 0.5492 MB / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9861, allocations: 0 / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.9868, allocations: 326.9 kB / 1.15 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.9883, allocations: 297.8 kB / 1.15 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.9993, allocations: 5.484 MB / 1.155 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.9997, allocations: 0.8621 MB / 1.156 GB, free: 0 / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004857/1, allocations: 112.5 kB / 1.156 GB, free: 15.89 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1, allocations: 159.4 kB / 1.156 GB, free: 15.73 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/1, allocations: 0 / 1.156 GB, free: 15.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.414/3.415, allocations: 15.92 MB / 1.172 GB, free: 204 kB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/3.415, allocations: 309.2 kB / 1.172 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/5.602, allocations: 0 / 1.172 GB, free: 15.81 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches