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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001729/0.001729, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5167, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1471/0.6638, allocations: 168.7 MB / 1.114 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005148/0.669, allocations: 4.255 MB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.6694, allocations: 23.88 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.6702, allocations: 314.5 kB / 1.118 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.672, allocations: 0.9414 MB / 1.119 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.6737, allocations: 0.739 MB / 1.12 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.6749, allocations: 1.282 MB / 1.121 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.6754, allocations: 475 kB / 1.122 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009201/0.6763, allocations: 0.6694 MB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008492/0.6772, allocations: 483.6 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.6773, allocations: 52 kB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.6785, allocations: 0.947 MB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.6787, allocations: 227.3 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.679, allocations: 322.6 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.6801, allocations: 1.169 MB / 1.126 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.6801, allocations: 0 / 1.126 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6801, allocations: 0 / 1.126 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6801, allocations: 0 / 1.126 GB, free: 12.83 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.001408/0.6816, allocations: 0.9544 MB / 1.127 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.6816, allocations: 8.031 kB / 1.127 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.08e-05/0.6817, allocations: 90.53 kB / 1.127 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.6833, allocations: 263 kB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.6841, allocations: 489.4 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.6844, allocations: 84.94 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.6844, allocations: 39.98 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.6856, allocations: 0.6224 MB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6856, allocations: 4 kB / 1.128 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.6857, allocations: 16 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.6857, allocations: 20.94 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6871, allocations: 0.562 MB / 1.129 GB, free: 9.574 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.003618/0.6907, allocations: 2.268 MB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.6917, allocations: 298.2 kB / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.6922, allocations: 172.7 kB / 1.131 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.6923, allocations: 7.984 kB / 1.131 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.6923, allocations: 42.5 kB / 1.131 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.6923, allocations: 0 / 1.131 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.00501/0.6973, allocations: 1.104 MB / 1.132 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6974, allocations: 85.05 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.6979, allocations: 0.5496 MB / 1.133 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.698, allocations: 25.7 kB / 1.133 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.6981, allocations: 299.5 kB / 1.133 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.6982, allocations: 47.45 kB / 1.133 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6983, allocations: 65.59 kB / 1.133 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6984, allocations: 350.8 kB / 1.134 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.699, allocations: 191.8 kB / 1.134 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.6996, allocations: 277.2 kB / 1.134 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.7007, allocations: 420.8 kB / 1.135 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7008, allocations: 3.938 kB / 1.135 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002571/0.7033, allocations: 0.737 MB / 1.135 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7034, allocations: 4 kB / 1.135 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.7034, allocations: 4 kB / 1.135 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.7039, allocations: 188.8 kB / 1.136 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.7043, allocations: 75.88 kB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.7079, allocations: 2.248 MB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.7085, allocations: 79.48 kB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.7086, allocations: 12 kB / 1.138 GB, free: 15.63 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.000196/0.7088, allocations: 190.3 kB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.7089, allocations: 51.38 kB / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.709, allocations: 56.03 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.709, allocations: 0 / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.709, allocations: 4 kB / 1.138 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.709, allocations: 0 / 1.138 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.712, allocations: 1.14 MB / 1.139 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7121, allocations: 0 / 1.139 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.7123, allocations: 43.95 kB / 1.139 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.7128, allocations: 188.7 kB / 1.14 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.7129, allocations: 8.156 kB / 1.14 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.7163, allocations: 2.183 MB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7163, allocations: 0 / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.7188, allocations: 0.7121 MB / 1.142 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.719, allocations: 172.4 kB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.7191, allocations: 7.938 kB / 1.143 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.7197, allocations: 59.86 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.7198, allocations: 15.98 kB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.7198, allocations: 15.98 kB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003884/0.7202, allocations: 390.8 kB / 1.143 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7202, allocations: 0 / 1.143 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005696/0.7208, allocations: 187.8 kB / 1.143 GB, free: 9.961 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.002973/0.7238, allocations: 1.333 MB / 1.144 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.7253, allocations: 0.5292 MB / 1.145 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7253, allocations: 8.062 kB / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.726, allocations: 302.6 kB / 1.145 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7273, allocations: 308.3 kB / 1.146 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.7383, allocations: 5.317 MB / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.7387, allocations: 0.8582 MB / 1.152 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004226/0.7391, allocations: 108.5 kB / 1.152 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7393, allocations: 163.4 kB / 1.152 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.7393, allocations: 0 / 1.152 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/2.306, allocations: 16.57 MB / 1.168 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/2.306, allocations: 298.9 kB / 1.168 GB, free: 288 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/4.378, allocations: 0 / 1.168 GB, free: 288 kB / 0.92 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