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.001736/0.001737, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001526/0.001526, allocations: 201.6 kB / 16.14 MB, free: 6.648 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.177/1.177, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.108/2.108, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.14 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.615, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1551/0.7701, allocations: 168.8 MB / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005631/0.7757, allocations: 4.338 MB / 1.118 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.7764, allocations: 23.88 kB / 1.118 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.7773, allocations: 306.5 kB / 1.118 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.7794, allocations: 0.9375 MB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.7811, allocations: 0.7195 MB / 1.12 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.7828, allocations: 1.794 MB / 1.122 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.7834, allocations: 418.9 kB / 1.122 GB, free: 168 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.7846, allocations: 0.5992 MB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.7856, allocations: 471.2 kB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.7857, allocations: 28 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.7872, allocations: 1.002 MB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.7874, allocations: 195.3 kB / 1.124 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.7878, allocations: 302.6 kB / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.789, allocations: 1.145 MB / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.789, allocations: 0 / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.91e-07/0.789, allocations: 0 / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.7891, allocations: 0 / 1.126 GB, free: 12.43 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.001591/0.7907, allocations: 0.9505 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7907, allocations: 8.031 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.7908, allocations: 94.39 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.7924, allocations: 263 kB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.7931, allocations: 485.5 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.7934, allocations: 88.88 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.7935, allocations: 40 kB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7947, allocations: 0.6185 MB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7947, allocations: 0 / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.7948, allocations: 28 kB / 1.128 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.7948, allocations: 24.92 kB / 1.128 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.7961, allocations: 0.5542 MB / 1.129 GB, free: 9.176 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.003623/0.7998, allocations: 2.28 MB / 1.131 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.8007, allocations: 298.3 kB / 1.131 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.8012, allocations: 168.7 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8012, allocations: 0 / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8013, allocations: 42.55 kB / 1.132 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.8013, allocations: 0 / 1.132 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.004926/0.8062, allocations: 1.1 MB / 1.133 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.8063, allocations: 85.05 kB / 1.133 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.8068, allocations: 0.5457 MB / 1.133 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.8069, allocations: 33.7 kB / 1.133 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.807, allocations: 307.4 kB / 1.134 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.8071, allocations: 39.45 kB / 1.134 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.8072, allocations: 57.61 kB / 1.134 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8073, allocations: 358.8 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.8079, allocations: 195.8 kB / 1.134 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.8085, allocations: 277.2 kB / 1.134 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.8096, allocations: 410.1 kB / 1.135 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8096, allocations: 0 / 1.135 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002459/0.812, allocations: 0.7439 MB / 1.136 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8121, allocations: 8 kB / 1.136 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8121, allocations: 0 / 1.136 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.8126, allocations: 184.8 kB / 1.136 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.813, allocations: 75.88 kB / 1.136 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.8163, allocations: 2.096 MB / 1.138 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.8169, allocations: 83.39 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.8169, allocations: 12 kB / 1.138 GB, free: 15.39 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.0002023/0.8171, allocations: 190.3 kB / 1.138 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.8172, allocations: 55.38 kB / 1.138 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.8173, allocations: 56.03 kB / 1.138 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8173, allocations: 4 kB / 1.138 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8173, allocations: 3.938 kB / 1.138 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8173, allocations: 0 / 1.138 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.8202, allocations: 1.144 MB / 1.139 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8202, allocations: 0 / 1.139 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.8204, allocations: 43.89 kB / 1.139 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.8209, allocations: 188.7 kB / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.821, allocations: 0 / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.824, allocations: 2.038 MB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.824, allocations: 4.031 kB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.8263, allocations: 0.7079 MB / 1.142 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.8265, allocations: 168.5 kB / 1.142 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.8266, allocations: 0 / 1.142 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.8272, allocations: 67.77 kB / 1.143 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.8272, allocations: 7.984 kB / 1.143 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.8273, allocations: 15.98 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003869/0.8277, allocations: 394.8 kB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8277, allocations: 0 / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005681/0.8283, allocations: 191.8 kB / 1.143 GB, free: 9.883 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.002829/0.8311, allocations: 1.328 MB / 1.144 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.8325, allocations: 0.5218 MB / 1.145 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8325, allocations: 4 kB / 1.145 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.8332, allocations: 307 kB / 1.145 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.8345, allocations: 295.7 kB / 1.145 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8451, allocations: 5.329 MB / 1.151 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.8455, allocations: 0.8582 MB / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000415/0.8459, allocations: 104.5 kB / 1.152 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.8461, allocations: 163.4 kB / 1.152 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8461, allocations: 0 / 1.152 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5125/1.359, allocations: 16.08 MB / 1.167 GB, free: 1.047 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.359, allocations: 302.8 kB / 1.168 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/3.562, allocations: 6.312 kB / 1.168 GB, free: 0.6602 MB / 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