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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007008/0.007008, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001714/0.001714, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.329/1.329, 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 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7633, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1734/0.9367, allocations: 171 MB / 1.333 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00669/0.9435, allocations: 4.282 MB / 1.337 GB, free: 3.777 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.9445, allocations: 23.88 kB / 1.337 GB, free: 3.754 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.9458, allocations: 374 kB / 1.338 GB, free: 3.387 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.9487, allocations: 1.023 MB / 1.339 GB, free: 2.359 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.9511, allocations: 0.8218 MB / 1.34 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.953, allocations: 1.298 MB / 1.341 GB, free: 248 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008259/0.9538, allocations: 491.2 kB / 1.341 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.9554, allocations: 0.6927 MB / 1.342 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.9566, allocations: 450.9 kB / 1.342 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.9568, allocations: 52 kB / 1.342 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.9586, allocations: 0.9199 MB / 1.343 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.9589, allocations: 215.4 kB / 1.344 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.9594, allocations: 326.5 kB / 1.344 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.9614, allocations: 1.134 MB / 1.345 GB, free: 11.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9614, allocations: 0 / 1.345 GB, free: 11.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9614, allocations: 0 / 1.345 GB, free: 11.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.9614, allocations: 3.938 kB / 1.345 GB, free: 11.98 MB / 1.076 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.001885/0.9633, allocations: 0.9527 MB / 1.346 GB, free: 10.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9634, allocations: 8.625 kB / 1.346 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.9635, allocations: 86.45 kB / 1.346 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.9651, allocations: 263 kB / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.9661, allocations: 0.4935 MB / 1.347 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.9661, allocations: 33 kB / 1.347 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.9662, allocations: 47.94 kB / 1.347 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.9675, allocations: 0.6107 MB / 1.347 GB, free: 9.371 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.9675, allocations: 0 / 1.347 GB, free: 9.371 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.9676, allocations: 16 kB / 1.347 GB, free: 9.355 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.9676, allocations: 32.94 kB / 1.347 GB, free: 9.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.969, allocations: 0.5425 MB / 1.348 GB, free: 8.781 MB / 1.076 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.003992/0.973, allocations: 2.256 MB / 1.35 GB, free: 6.391 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.9739, allocations: 282.3 kB / 1.35 GB, free: 6.105 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.9744, allocations: 172.7 kB / 1.351 GB, free: 5.934 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.9745, allocations: 0 / 1.351 GB, free: 5.934 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9745, allocations: 38.56 kB / 1.351 GB, free: 5.887 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.9745, allocations: 0 / 1.351 GB, free: 5.887 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00504/0.9796, allocations: 1.088 MB / 1.352 GB, free: 4.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.9796, allocations: 85.09 kB / 1.352 GB, free: 4.668 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.9803, allocations: 0.5495 MB / 1.352 GB, free: 4.109 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.9804, allocations: 29.7 kB / 1.352 GB, free: 4.074 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.9806, allocations: 307.4 kB / 1.353 GB, free: 3.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.9807, allocations: 35.45 kB / 1.353 GB, free: 3.734 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.9808, allocations: 61.61 kB / 1.353 GB, free: 3.668 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.981, allocations: 354.8 kB / 1.353 GB, free: 3.312 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.9815, allocations: 195.8 kB / 1.353 GB, free: 3.121 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.9822, allocations: 269.3 kB / 1.353 GB, free: 2.824 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9832, allocations: 409.9 kB / 1.354 GB, free: 2.395 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9833, allocations: 0 / 1.354 GB, free: 2.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002631/0.9859, allocations: 0.7244 MB / 1.355 GB, free: 1.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9859, allocations: 7.984 kB / 1.355 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9859, allocations: 4.094 kB / 1.355 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.9866, allocations: 188.6 kB / 1.355 GB, free: 1.461 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.987, allocations: 71.88 kB / 1.355 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.9909, allocations: 2.236 MB / 1.357 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.9916, allocations: 75.39 kB / 1.357 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.9917, allocations: 12 kB / 1.357 GB, free: 14.94 MB / 1.092 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.0002885/0.992, allocations: 194.9 kB / 1.357 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9921, allocations: 51.44 kB / 1.357 GB, free: 14.69 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.9922, allocations: 51.98 kB / 1.357 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9922, allocations: 3.984 kB / 1.357 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.9922, allocations: 0 / 1.357 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.9922, allocations: 4 kB / 1.357 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.9953, allocations: 1.117 MB / 1.358 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9954, allocations: 8.062 kB / 1.358 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.9956, allocations: 39.89 kB / 1.359 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.9962, allocations: 180.7 kB / 1.359 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.9962, allocations: 7.984 kB / 1.359 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.9999, allocations: 2.191 MB / 1.361 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9999, allocations: 0 / 1.361 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.002, allocations: 0.7044 MB / 1.362 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/1.003, allocations: 164.5 kB / 1.362 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/1.003, allocations: 8 kB / 1.362 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/1.004, allocations: 43.89 kB / 1.362 GB, free: 9.918 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/1.004, allocations: 15.98 kB / 1.362 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/1.004, allocations: 11.98 kB / 1.362 GB, free: 9.891 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004808/1.004, allocations: 398.8 kB / 1.362 GB, free: 9.504 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.91e-07/1.004, allocations: 3.938 kB / 1.362 GB, free: 9.5 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007086/1.005, allocations: 183.7 kB / 1.362 GB, free: 9.32 MB / 1.092 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.003098/1.008, allocations: 1.321 MB / 1.364 GB, free: 7.973 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.01, allocations: 0.518 MB / 1.364 GB, free: 7.441 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.01, allocations: 0 / 1.364 GB, free: 7.441 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/1.01, allocations: 306.9 kB / 1.364 GB, free: 7.129 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.012, allocations: 305.8 kB / 1.365 GB, free: 6.836 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.023, allocations: 5.066 MB / 1.37 GB, free: 1.613 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/1.024, allocations: 0.8621 MB / 1.371 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004795/1.024, allocations: 104.5 kB / 1.371 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.025, allocations: 163.4 kB / 1.371 GB, free: 468 kB / 1.092 GB Notification: Performance of SimCode: time 9.01e-07/1.025, allocations: 0 / 1.371 GB, free: 468 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/1.067, allocations: 16.89 MB / 1.387 GB, free: 15.87 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.81, allocations: 22.55 kB / 1.387 GB, free: 15.86 MB / 1.123 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