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.008001/0.008001, allocations: 107.4 kB / 15.74 MB, free: 5.582 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.001846/0.001846, allocations: 197.9 kB / 16.67 MB, free: 5.508 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.068/2.068, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8667, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2046/1.071, allocations: 171 MB / 1.254 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006631/1.078, allocations: 4.275 MB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000904/1.079, allocations: 27.88 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/1.08, allocations: 354 kB / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/1.083, allocations: 0.9954 MB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/1.085, allocations: 0.8163 MB / 1.261 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001591/1.087, allocations: 1.298 MB / 1.262 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/1.087, allocations: 483.2 kB / 1.262 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/1.088, allocations: 0.6771 MB / 1.263 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009968/1.089, allocations: 456.9 kB / 1.264 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/1.089, allocations: 52 kB / 1.264 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/1.091, allocations: 0.9121 MB / 1.265 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/1.091, allocations: 215.4 kB / 1.265 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/1.091, allocations: 326.5 kB / 1.265 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/1.093, allocations: 1.134 MB / 1.266 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.093, allocations: 0 / 1.266 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.093, allocations: 0 / 1.266 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.093, allocations: 0 / 1.266 GB, free: 6.734 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.001525/1.094, allocations: 0.9544 MB / 1.267 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.094, allocations: 8.031 kB / 1.267 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.382e-05/1.095, allocations: 86.53 kB / 1.267 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/1.096, allocations: 262.9 kB / 1.267 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/1.097, allocations: 0.4896 MB / 1.268 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/1.097, allocations: 37 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/1.097, allocations: 40 kB / 1.268 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.098, allocations: 0.6107 MB / 1.269 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.098, allocations: 0 / 1.269 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/1.098, allocations: 24 kB / 1.269 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.098, allocations: 21 kB / 1.269 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/1.1, allocations: 0.5464 MB / 1.269 GB, free: 3.535 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.003663/1.103, allocations: 2.268 MB / 1.271 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008928/1.104, allocations: 282.3 kB / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/1.105, allocations: 168.7 kB / 1.272 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/1.105, allocations: 0 / 1.272 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.105, allocations: 42.5 kB / 1.272 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/1.105, allocations: 0 / 1.272 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.004858/1.11, allocations: 1.088 MB / 1.273 GB, free: 15.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.11, allocations: 81.11 kB / 1.273 GB, free: 15.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/1.11, allocations: 0.5495 MB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/1.111, allocations: 29.7 kB / 1.274 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.111, allocations: 303.5 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.111, allocations: 39.44 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.111, allocations: 61.69 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.111, allocations: 362.8 kB / 1.274 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.112, allocations: 183.8 kB / 1.274 GB, free: 13.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/1.112, allocations: 270.5 kB / 1.275 GB, free: 13.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.113, allocations: 402.9 kB / 1.275 GB, free: 13.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.113, allocations: 0 / 1.275 GB, free: 13.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002478/1.116, allocations: 0.7238 MB / 1.276 GB, free: 12.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.116, allocations: 8.094 kB / 1.276 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.116, allocations: 4 kB / 1.276 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/1.117, allocations: 188.6 kB / 1.276 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/1.117, allocations: 71.94 kB / 1.276 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/1.121, allocations: 2.23 MB / 1.278 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/1.121, allocations: 71.48 kB / 1.278 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/1.121, allocations: 12 kB / 1.278 GB, free: 9.699 MB / 1.014 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.0002601/1.122, allocations: 193.8 kB / 1.278 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.122, allocations: 55.38 kB / 1.279 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.122, allocations: 55.95 kB / 1.279 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.122, allocations: 0 / 1.279 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.122, allocations: 0 / 1.279 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.122, allocations: 7.984 kB / 1.279 GB, free: 9.383 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/1.125, allocations: 1.129 MB / 1.28 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.125, allocations: 4 kB / 1.28 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/1.125, allocations: 35.95 kB / 1.28 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/1.126, allocations: 176.8 kB / 1.28 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.126, allocations: 7.984 kB / 1.28 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/1.129, allocations: 2.199 MB / 1.282 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.129, allocations: 0 / 1.282 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/1.131, allocations: 0.7001 MB / 1.283 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/1.132, allocations: 168.5 kB / 1.283 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/1.132, allocations: 3.984 kB / 1.283 GB, free: 4.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/1.132, allocations: 49.3 kB / 1.283 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/1.132, allocations: 19.92 kB / 1.283 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/1.132, allocations: 15.98 kB / 1.283 GB, free: 4.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004659/1.133, allocations: 394.8 kB / 1.283 GB, free: 4.242 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.133, allocations: 0 / 1.283 GB, free: 4.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006543/1.134, allocations: 187.7 kB / 1.284 GB, free: 4.059 MB / 1.014 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.002981/1.137, allocations: 1.314 MB / 1.285 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00156/1.138, allocations: 0.5281 MB / 1.285 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.138, allocations: 0 / 1.285 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/1.139, allocations: 298.9 kB / 1.286 GB, free: 1.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.14, allocations: 307.6 kB / 1.286 GB, free: 1.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.152, allocations: 5.057 MB / 1.291 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/1.152, allocations: 0.8621 MB / 1.292 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004294/1.152, allocations: 108.5 kB / 1.292 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/1.153, allocations: 159.4 kB / 1.292 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 2.054e-06/1.153, allocations: 0 / 1.292 GB, free: 11.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/1.195, allocations: 17.19 MB / 1.309 GB, free: 10.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.56, allocations: 8.688 kB / 1.309 GB, free: 10.39 MB / 1.045 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