Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.007141/0.00714, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.00163/0.00163, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.497/2.497, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9286/1.25, allocations: 190.6 MB / 1.352 GB, free: 2.617 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0098/1.26, allocations: 5.732 MB / 1.358 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.262, allocations: 41.12 kB / 1.358 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/1.263, allocations: 0.5965 MB / 1.359 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005169/1.269, allocations: 1.906 MB / 1.36 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/1.272, allocations: 1.202 MB / 1.362 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004332/1.276, allocations: 2.958 MB / 1.364 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/1.278, allocations: 0.9484 MB / 1.365 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/1.281, allocations: 1.099 MB / 1.366 GB, free: 10.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/1.284, allocations: 0.9118 MB / 1.367 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004189/1.284, allocations: 108.7 kB / 1.367 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/1.288, allocations: 1.442 MB / 1.369 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00083/1.289, allocations: 455.9 kB / 1.369 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/1.291, allocations: 0.6536 MB / 1.37 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00443/1.295, allocations: 2.131 MB / 1.372 GB, free: 7.004 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.295, allocations: 0 / 1.372 GB, free: 7.004 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/1.295, allocations: 4 kB / 1.372 GB, free: 7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.265e-05/1.295, allocations: 0 / 1.372 GB, free: 7 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003337/1.298, allocations: 1.52 MB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.299, allocations: 9.312 kB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/1.299, allocations: 135.7 kB / 1.374 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.301, allocations: 316 kB / 1.374 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/1.303, allocations: 0.8571 MB / 1.375 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/1.303, allocations: 64.38 kB / 1.375 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/1.303, allocations: 87 kB / 1.375 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.305, allocations: 0.9098 MB / 1.376 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/1.305, allocations: 0 / 1.376 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.305, allocations: 35.75 kB / 1.376 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/1.305, allocations: 30.97 kB / 1.376 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/1.306, allocations: 0.8319 MB / 1.377 GB, free: 3.934 MB / 1.045 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.005603/1.312, allocations: 3.504 MB / 1.38 GB, free: 1.164 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/1.313, allocations: 0.5055 MB / 1.381 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/1.313, allocations: 292.3 kB / 1.381 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.313, allocations: 103 kB / 1.381 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.313, allocations: 48.34 kB / 1.381 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/1.313, allocations: 0 / 1.381 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.004332/1.318, allocations: 1.914 MB / 1.383 GB, free: 15.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.318, allocations: 56.66 kB / 1.383 GB, free: 15.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/1.319, allocations: 0.8021 MB / 1.384 GB, free: 14.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/1.319, allocations: 42.52 kB / 1.384 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/1.319, allocations: 474.7 kB / 1.384 GB, free: 14.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/1.319, allocations: 172.2 kB / 1.384 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/1.32, allocations: 114 kB / 1.385 GB, free: 14.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.32, allocations: 333.2 kB / 1.385 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/1.32, allocations: 239.8 kB / 1.385 GB, free: 13.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/1.321, allocations: 358.9 kB / 1.385 GB, free: 13.45 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/1.324, allocations: 1.535 MB / 1.387 GB, free: 12.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.324, allocations: 0 / 1.387 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001428/1.326, allocations: 0.7837 MB / 1.388 GB, free: 12.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.326, allocations: 7.75 kB / 1.388 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.326, allocations: 2.312 kB / 1.388 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/1.326, allocations: 94.98 kB / 1.388 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/1.327, allocations: 142.8 kB / 1.388 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/1.33, allocations: 3.31 MB / 1.391 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/1.331, allocations: 33.92 kB / 1.391 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/1.331, allocations: 19.12 kB / 1.391 GB, free: 8.848 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004925/1.331, allocations: 304.2 kB / 1.391 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.331, allocations: 94.5 kB / 1.392 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/1.332, allocations: 108.4 kB / 1.392 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.332, allocations: 5.344 kB / 1.392 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.332, allocations: 0 / 1.392 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00098/1.333, allocations: 0.8467 MB / 1.392 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/1.336, allocations: 1.791 MB / 1.394 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.336, allocations: 2.094 kB / 1.394 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.336, allocations: 127.5 kB / 1.394 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/1.336, allocations: 78.2 kB / 1.394 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/1.337, allocations: 9.812 kB / 1.394 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.338, allocations: 1.784 MB / 1.396 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.338, allocations: 2.938 kB / 1.396 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/1.34, allocations: 1.07 MB / 1.397 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/1.34, allocations: 237.2 kB / 1.397 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.34, allocations: 18.67 kB / 1.397 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/1.341, allocations: 31.67 kB / 1.398 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.341, allocations: 41.64 kB / 1.398 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/1.341, allocations: 35.64 kB / 1.398 GB, free: 3.824 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007327/1.342, allocations: 0.56 MB / 1.398 GB, free: 3.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.342, allocations: 0 / 1.398 GB, free: 3.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009823/1.343, allocations: 283.1 kB / 1.398 GB, free: 3.488 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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.002136/1.345, allocations: 1.705 MB / 1.4 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.347, allocations: 0.8087 MB / 1.401 GB, free: 1.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.347, allocations: 3.25 kB / 1.401 GB, free: 1.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/1.347, allocations: 416.8 kB / 1.401 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.35, allocations: 0.6089 MB / 1.402 GB, free: 1.129 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.361, allocations: 6.966 MB / 1.409 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/1.362, allocations: 1.087 MB / 1.41 GB, free: 9.816 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009158/1.363, allocations: 215.7 kB / 1.41 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/1.363, allocations: 343.3 kB / 1.41 GB, free: 9.27 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/1.363, allocations: 0 / 1.41 GB, free: 9.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/1.424, allocations: 28.03 MB / 1.438 GB, free: 13.74 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/14, allocations: 6.656 kB / 1.438 GB, free: 13.74 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches