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.001277/0.001277, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001327/0.001327, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.529/1.529, 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 11.0.1-master/package.mo): time 3.052/3.052, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.34 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.227/0.5858, allocations: 168.7 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006782/0.5926, allocations: 4.254 MB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.5935, allocations: 19.88 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5947, allocations: 310.5 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.5974, allocations: 0.9337 MB / 1.223 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.5998, allocations: 0.7493 MB / 1.223 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.6018, allocations: 1.278 MB / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.6026, allocations: 483.2 kB / 1.225 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.6043, allocations: 0.6578 MB / 1.226 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.6055, allocations: 498.2 kB / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.6057, allocations: 59.88 kB / 1.226 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.6074, allocations: 0.9392 MB / 1.227 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.6078, allocations: 211.4 kB / 1.227 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005194/0.6083, allocations: 338.5 kB / 1.228 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.6103, allocations: 1.169 MB / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6104, allocations: 0 / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6104, allocations: 0 / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.6104, allocations: 0 / 1.229 GB, free: 3.418 MB / 0.9825 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.001976/0.6124, allocations: 0.9467 MB / 1.23 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6124, allocations: 16.56 kB / 1.23 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.6126, allocations: 82.53 kB / 1.23 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.6144, allocations: 263 kB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.6153, allocations: 489.4 kB / 1.23 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.6156, allocations: 84.94 kB / 1.231 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.6157, allocations: 40 kB / 1.231 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.6171, allocations: 0.6224 MB / 1.231 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6171, allocations: 0 / 1.231 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.6172, allocations: 20 kB / 1.231 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.6172, allocations: 21 kB / 1.231 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.6187, allocations: 0.5581 MB / 1.232 GB, free: 176 kB / 0.9825 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.004552/0.6232, allocations: 2.28 MB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.6243, allocations: 302.2 kB / 1.234 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.6249, allocations: 172.7 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.625, allocations: 3.984 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.625, allocations: 42.5 kB / 1.235 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.554e-06/0.625, allocations: 0 / 1.235 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005632/0.6307, allocations: 1.103 MB / 1.236 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.6308, allocations: 81.27 kB / 1.236 GB, free: 12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.6316, allocations: 0.5574 MB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.6317, allocations: 29.7 kB / 1.236 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.632, allocations: 299.4 kB / 1.237 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.632, allocations: 39.55 kB / 1.237 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.6322, allocations: 57.61 kB / 1.237 GB, free: 11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6324, allocations: 354.8 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.633, allocations: 199.8 kB / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.6337, allocations: 269.8 kB / 1.237 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.635, allocations: 418.1 kB / 1.238 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.635, allocations: 7.938 kB / 1.238 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002976/0.638, allocations: 0.7278 MB / 1.239 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.638, allocations: 12.09 kB / 1.239 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.638, allocations: 4 kB / 1.239 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.6387, allocations: 184.6 kB / 1.239 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.6391, allocations: 71.94 kB / 1.239 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/0.6434, allocations: 2.253 MB / 1.241 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.6443, allocations: 87.47 kB / 1.241 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.6443, allocations: 8 kB / 1.241 GB, free: 6.215 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.0003746/0.6447, allocations: 189.8 kB / 1.241 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6449, allocations: 51.38 kB / 1.241 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.645, allocations: 52.03 kB / 1.241 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6451, allocations: 4 kB / 1.241 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6451, allocations: 0 / 1.241 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6451, allocations: 0 / 1.241 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.6487, allocations: 1.148 MB / 1.242 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6487, allocations: 4 kB / 1.242 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.649, allocations: 36.08 kB / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.6496, allocations: 192.7 kB / 1.243 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.6496, allocations: 0 / 1.243 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.6535, allocations: 2.179 MB / 1.245 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6536, allocations: 4.031 kB / 1.245 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.6564, allocations: 0.7157 MB / 1.246 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.6567, allocations: 172.4 kB / 1.246 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6569, allocations: 3.938 kB / 1.246 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.6576, allocations: 59.94 kB / 1.246 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.6577, allocations: 16.17 kB / 1.246 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.6578, allocations: 15.98 kB / 1.246 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005466/0.6583, allocations: 394.8 kB / 1.246 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.924e-06/0.6583, allocations: 0 / 1.246 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000793/0.6591, allocations: 187.7 kB / 1.246 GB, free: 0.5508 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.5197/1.179, allocations: 1.331 MB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.181, allocations: 0.5368 MB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.181, allocations: 0.8438 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/1.181, allocations: 303.1 kB / 1.248 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.183, allocations: 308.2 kB / 1.249 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.194, allocations: 5.314 MB / 1.254 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/1.194, allocations: 0.8599 MB / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006103/1.195, allocations: 102.4 kB / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.195, allocations: 162.1 kB / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.195, allocations: 0 / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/2.409, allocations: 16.56 MB / 1.271 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/2.409, allocations: 322.4 kB / 1.272 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.525/5.934, allocations: 0 / 1.272 GB, free: 188 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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