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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.78 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2371, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1563/0.3934, allocations: 171 MB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.3991, allocations: 4.291 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.3996, allocations: 19.88 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.4005, allocations: 350 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.4026, allocations: 0.9954 MB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.4044, allocations: 0.8137 MB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.4058, allocations: 1.298 MB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.4065, allocations: 475.3 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4076, allocations: 0.6771 MB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009739/0.4086, allocations: 457.4 kB / 1.24 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4087, allocations: 52 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.4101, allocations: 0.9004 MB / 1.241 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.4104, allocations: 215.4 kB / 1.241 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.4107, allocations: 326.5 kB / 1.241 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4121, allocations: 1.134 MB / 1.242 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4121, allocations: 3.938 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4121, allocations: 0 / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.4121, allocations: 0 / 1.242 GB, free: 6.898 MB / 0.9981 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.0016/0.4137, allocations: 0.9467 MB / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4138, allocations: 8.031 kB / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.4139, allocations: 86.52 kB / 1.243 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.4156, allocations: 267 kB / 1.244 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.4164, allocations: 481.4 kB / 1.244 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.4167, allocations: 84.94 kB / 1.244 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.4168, allocations: 40 kB / 1.244 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.4181, allocations: 0.6263 MB / 1.245 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4181, allocations: 0 / 1.245 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.4181, allocations: 20 kB / 1.245 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.4182, allocations: 21 kB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.4197, allocations: 0.5542 MB / 1.245 GB, free: 3.66 MB / 0.9981 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.003869/0.4235, allocations: 2.295 MB / 1.248 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4246, allocations: 298.2 kB / 1.248 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.4252, allocations: 172.7 kB / 1.248 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4252, allocations: 0 / 1.248 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4252, allocations: 38.56 kB / 1.248 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.4253, allocations: 4 kB / 1.248 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.4071/0.8324, allocations: 1.1 MB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.8325, allocations: 83.31 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.8331, allocations: 0.5495 MB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.8332, allocations: 30.67 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.8334, allocations: 298.5 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.8334, allocations: 44.67 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.8335, allocations: 67.41 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.8336, allocations: 356.3 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.8343, allocations: 187.9 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/0.8349, allocations: 276.9 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.8362, allocations: 420.9 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8362, allocations: 1.188 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002774/0.839, allocations: 0.7356 MB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.839, allocations: 5.938 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.839, allocations: 6.875 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.8397, allocations: 179.7 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.8401, allocations: 76.56 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.8435, allocations: 2.222 MB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.8441, allocations: 80.75 kB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.8442, allocations: 15.47 kB / 1.255 GB, free: 187.2 MB / 0.9981 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.0001831/0.8444, allocations: 186.9 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.8445, allocations: 49.84 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.8446, allocations: 55.05 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8446, allocations: 8.219 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.8446, allocations: 0 / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8446, allocations: 6.484 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.8476, allocations: 1.145 MB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8476, allocations: 1.25 kB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.8479, allocations: 42.27 kB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.8484, allocations: 180.5 kB / 1.256 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.8484, allocations: 7.406 kB / 1.256 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.8515, allocations: 2.192 MB / 1.258 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8515, allocations: 3.328 kB / 1.258 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.854, allocations: 0.7064 MB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.8542, allocations: 170.6 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.8543, allocations: 6.25 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.8549, allocations: 51.52 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.8549, allocations: 21.47 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.855, allocations: 13.36 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000368/0.8553, allocations: 393 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8554, allocations: 0 / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005312/0.8559, allocations: 184 kB / 1.26 GB, free: 184.8 MB / 0.9981 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.002916/0.8588, allocations: 1.33 MB / 1.261 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.8604, allocations: 0.5253 MB / 1.262 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8604, allocations: 7.094 kB / 1.262 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.8611, allocations: 310.3 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.8624, allocations: 313.2 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.8728, allocations: 5.169 MB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.8731, allocations: 0.8612 MB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004201/0.8735, allocations: 105.7 kB / 1.268 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.8737, allocations: 162.1 kB / 1.268 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.8737, allocations: 1.312 kB / 1.268 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.909, allocations: 16.75 MB / 1.285 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.47, allocations: 17.14 kB / 1.285 GB, free: 175.7 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches