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.005728/0.005728, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.001276/0.001275, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.11 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8942/1.207, allocations: 171 MB / 1.374 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007437/1.215, allocations: 4.288 MB / 1.378 GB, free: 11.35 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/1.216, allocations: 18.47 kB / 1.378 GB, free: 11.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/1.217, allocations: 356.6 kB / 1.379 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/1.221, allocations: 0.9963 MB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/1.223, allocations: 0.8189 MB / 1.381 GB, free: 9.844 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002301/1.226, allocations: 1.294 MB / 1.382 GB, free: 9.113 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/1.227, allocations: 489 kB / 1.382 GB, free: 8.816 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/1.229, allocations: 0.6795 MB / 1.383 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/1.23, allocations: 443.9 kB / 1.383 GB, free: 8.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/1.23, allocations: 51.53 kB / 1.383 GB, free: 8.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/1.233, allocations: 0.9203 MB / 1.384 GB, free: 7.652 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/1.233, allocations: 213.7 kB / 1.385 GB, free: 7.504 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/1.234, allocations: 331.2 kB / 1.385 GB, free: 7.301 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/1.236, allocations: 1.127 MB / 1.386 GB, free: 6.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.236, allocations: 0 / 1.386 GB, free: 6.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.639e-06/1.236, allocations: 1.156 kB / 1.386 GB, free: 6.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.465e-05/1.236, allocations: 0 / 1.386 GB, free: 6.59 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.002413/1.239, allocations: 0.9529 MB / 1.387 GB, free: 5.816 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.239, allocations: 10.66 kB / 1.387 GB, free: 5.816 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/1.239, allocations: 78.03 kB / 1.387 GB, free: 5.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/1.241, allocations: 270.2 kB / 1.387 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/1.242, allocations: 0.4966 MB / 1.388 GB, free: 5.195 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/1.242, allocations: 38.95 kB / 1.388 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/1.242, allocations: 38.25 kB / 1.388 GB, free: 5.164 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.244, allocations: 0.6185 MB / 1.388 GB, free: 4.781 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.244, allocations: 0 / 1.388 GB, free: 4.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/1.244, allocations: 17.75 kB / 1.388 GB, free: 4.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/1.244, allocations: 21.12 kB / 1.388 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/1.245, allocations: 0.5492 MB / 1.389 GB, free: 4.504 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.004527/1.25, allocations: 2.247 MB / 1.391 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/1.251, allocations: 279.3 kB / 1.391 GB, free: 2.535 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/1.252, allocations: 169.2 kB / 1.392 GB, free: 2.449 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/1.252, allocations: 9.297 kB / 1.392 GB, free: 2.441 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.252, allocations: 41.16 kB / 1.392 GB, free: 2.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 4.469e-06/1.252, allocations: 5.297 kB / 1.392 GB, free: 2.391 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005225/1.257, allocations: 1.085 MB / 1.393 GB, free: 1.805 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.257, allocations: 78.48 kB / 1.393 GB, free: 1.711 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/1.258, allocations: 0.5556 MB / 1.393 GB, free: 1.375 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/1.258, allocations: 28.23 kB / 1.393 GB, free: 1.344 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/1.258, allocations: 303.5 kB / 1.394 GB, free: 1.074 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/1.258, allocations: 37.36 kB / 1.394 GB, free: 1.043 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/1.258, allocations: 65.47 kB / 1.394 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.258, allocations: 350.3 kB / 1.394 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/1.259, allocations: 189.2 kB / 1.394 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/1.26, allocations: 267 kB / 1.395 GB, free: 392 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.261, allocations: 415.2 kB / 1.395 GB, free: 128 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.261, allocations: 0 / 1.395 GB, free: 128 kB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002781/1.264, allocations: 0.7274 MB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.264, allocations: 6 kB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.264, allocations: 2.875 kB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/1.264, allocations: 190.1 kB / 1.396 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/1.265, allocations: 65.98 kB / 1.396 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/1.269, allocations: 2.237 MB / 1.398 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/1.27, allocations: 79.97 kB / 1.398 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/1.27, allocations: 12.38 kB / 1.398 GB, free: 13.69 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.0003209/1.27, allocations: 185.2 kB / 1.398 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.27, allocations: 53.38 kB / 1.398 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/1.27, allocations: 62.03 kB / 1.398 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.27, allocations: 2.594 kB / 1.398 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.27, allocations: 2.625 kB / 1.398 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.27, allocations: 3.938 kB / 1.398 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/1.274, allocations: 1.12 MB / 1.4 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.274, allocations: 2.625 kB / 1.4 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/1.274, allocations: 38.77 kB / 1.4 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/1.274, allocations: 181.4 kB / 1.4 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.274, allocations: 2.031 kB / 1.4 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/1.278, allocations: 2.191 MB / 1.402 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.278, allocations: 1.938 kB / 1.402 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.28, allocations: 0.7042 MB / 1.403 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/1.281, allocations: 167.5 kB / 1.403 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/1.281, allocations: 4 kB / 1.403 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/1.282, allocations: 53.89 kB / 1.403 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/1.282, allocations: 13.42 kB / 1.403 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/1.282, allocations: 11.36 kB / 1.403 GB, free: 10.06 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005144/1.282, allocations: 395.6 kB / 1.403 GB, free: 9.828 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.282, allocations: 4 kB / 1.403 GB, free: 9.824 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008079/1.283, allocations: 184.5 kB / 1.403 GB, free: 9.797 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.00305/1.286, allocations: 1.308 MB / 1.405 GB, free: 8.809 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.288, allocations: 0.529 MB / 1.405 GB, free: 8.492 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.288, allocations: 4.312 kB / 1.405 GB, free: 8.488 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007131/1.289, allocations: 304.8 kB / 1.405 GB, free: 8.277 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.29, allocations: 313.4 kB / 1.406 GB, free: 8.121 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.302, allocations: 5.065 MB / 1.411 GB, free: 4.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/1.303, allocations: 0.8585 MB / 1.412 GB, free: 4.129 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005272/1.303, allocations: 106 kB / 1.412 GB, free: 4.082 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/1.304, allocations: 163.3 kB / 1.412 GB, free: 3.949 MB / 1.092 GB Notification: Performance of SimCode: time 1.012e-06/1.304, allocations: 0 / 1.412 GB, free: 3.949 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/1.392, allocations: 17.18 MB / 1.429 GB, free: 3.879 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.33, allocations: 9.375 kB / 1.429 GB, free: 3.875 MB / 1.107 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