Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.000921/0.0009211, allocations: 97.56 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.006397/0.006397, allocations: 169.1 kB / 16.26 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 8 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8395, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2019/1.041, allocations: 166.6 MB / 1.186 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007649/1.049, allocations: 4.293 MB / 1.19 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009624/1.05, allocations: 19.88 kB / 1.19 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/1.051, allocations: 306.5 kB / 1.19 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/1.054, allocations: 0.9414 MB / 1.191 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.056, allocations: 0.7179 MB / 1.192 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002116/1.058, allocations: 1.809 MB / 1.194 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/1.059, allocations: 398.4 kB / 1.194 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/1.06, allocations: 0.5796 MB / 1.195 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009728/1.061, allocations: 456.7 kB / 1.195 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/1.061, allocations: 20 kB / 1.195 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.063, allocations: 0.9938 MB / 1.196 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/1.063, allocations: 187.4 kB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/1.063, allocations: 320.2 kB / 1.197 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/1.064, allocations: 1.122 MB / 1.198 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.064, allocations: 3.938 kB / 1.198 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.024e-06/1.064, allocations: 0 / 1.198 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.064, allocations: 8 kB / 1.198 GB, free: 12.46 MB / 0.9512 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.001459/1.066, allocations: 0.8377 MB / 1.198 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.066, allocations: 8.031 kB / 1.198 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/1.066, allocations: 86.52 kB / 1.199 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.068, allocations: 282.9 kB / 1.199 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/1.068, allocations: 497.4 kB / 1.199 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/1.069, allocations: 92.94 kB / 1.199 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/1.069, allocations: 40 kB / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.07, allocations: 0.642 MB / 1.2 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.07, allocations: 3.938 kB / 1.2 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/1.07, allocations: 16 kB / 1.2 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/1.07, allocations: 20.98 kB / 1.2 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/1.072, allocations: 0.5894 MB / 1.201 GB, free: 9.242 MB / 0.9512 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.003871/1.076, allocations: 2.307 MB / 1.203 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.077, allocations: 318.2 kB / 1.203 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/1.077, allocations: 192.7 kB / 1.203 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.077, allocations: 0 / 1.203 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.077, allocations: 38.56 kB / 1.203 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/1.077, allocations: 0 / 1.203 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005276/1.083, allocations: 1.182 MB / 1.205 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.083, allocations: 89.05 kB / 1.205 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/1.083, allocations: 0.5459 MB / 1.205 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/1.083, allocations: 29.7 kB / 1.205 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.084, allocations: 307.4 kB / 1.206 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.084, allocations: 43.38 kB / 1.206 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/1.084, allocations: 29.7 kB / 1.206 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.084, allocations: 354.8 kB / 1.206 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/1.084, allocations: 207.8 kB / 1.206 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/1.085, allocations: 289.7 kB / 1.206 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.086, allocations: 448 kB / 1.207 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.086, allocations: 0 / 1.207 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002724/1.089, allocations: 0.7824 MB / 1.208 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.089, allocations: 8 kB / 1.208 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.089, allocations: 4.094 kB / 1.208 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/1.09, allocations: 188.7 kB / 1.208 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/1.09, allocations: 83.88 kB / 1.208 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/1.094, allocations: 2.127 MB / 1.21 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/1.095, allocations: 91.53 kB / 1.21 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.095, allocations: 8 kB / 1.21 GB, free: 15.18 MB / 0.9669 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.0003394/1.095, allocations: 193.8 kB / 1.21 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.096, allocations: 51.34 kB / 1.21 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/1.096, allocations: 48.03 kB / 1.21 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.096, allocations: 4 kB / 1.21 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.096, allocations: 3.938 kB / 1.21 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.096, allocations: 0 / 1.21 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/1.099, allocations: 1.195 MB / 1.211 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.099, allocations: 3.938 kB / 1.211 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/1.099, allocations: 48.02 kB / 1.212 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/1.1, allocations: 192.7 kB / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.1, allocations: 0 / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/1.104, allocations: 2.077 MB / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.104, allocations: 4.062 kB / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.106, allocations: 0.7509 MB / 1.214 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/1.107, allocations: 160.5 kB / 1.215 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.107, allocations: 8 kB / 1.215 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/1.107, allocations: 63.92 kB / 1.215 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/1.107, allocations: 15.92 kB / 1.215 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/1.108, allocations: 11.98 kB / 1.215 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004742/1.108, allocations: 394.8 kB / 1.215 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.21e-07/1.108, allocations: 4 kB / 1.215 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007232/1.109, allocations: 191.6 kB / 1.215 GB, free: 9.535 MB / 0.9669 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.003266/1.112, allocations: 1.365 MB / 1.217 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001666/1.114, allocations: 0.5531 MB / 1.217 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.114, allocations: 0 / 1.217 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/1.115, allocations: 326.9 kB / 1.217 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.116, allocations: 303.1 kB / 1.218 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.129, allocations: 5.477 MB / 1.223 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.129, allocations: 0.8621 MB / 1.224 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005159/1.13, allocations: 108.6 kB / 1.224 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/1.13, allocations: 163.4 kB / 1.224 GB, free: 172 kB / 0.9669 GB Notification: Performance of SimCode: time 1.543e-06/1.13, allocations: 0 / 1.224 GB, free: 172 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/1.163, allocations: 15.9 MB / 1.24 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/1.164, allocations: 303.5 kB / 1.24 GB, free: 276 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.388, allocations: 0.75 kB / 1.24 GB, free: 276 kB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches