Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.007554/0.007554, allocations: 99.25 kB / 15.73 MB, free: 6.492 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.002133/0.002133, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.5659/0.8439, allocations: 49.79 MB / 1.269 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.8659, allocations: 12.68 MB / 1.281 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.8692, allocations: 79.56 kB / 1.281 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.8718, allocations: 0.7585 MB / 1.282 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008658/0.8805, allocations: 1.827 MB / 1.284 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.8861, allocations: 1.361 MB / 1.285 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007339/0.8935, allocations: 3.26 MB / 1.288 GB, free: 11.28 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.8961, allocations: 1.242 MB / 1.289 GB, free: 10.72 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.9006, allocations: 1.313 MB / 1.291 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.9026, allocations: 0.9232 MB / 1.292 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.9029, allocations: 96.03 kB / 1.292 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.9064, allocations: 1.069 MB / 1.293 GB, free: 9.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.9068, allocations: 288.8 kB / 1.293 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.908, allocations: 0.6781 MB / 1.294 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.9122, allocations: 1.972 MB / 1.296 GB, free: 7.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9122, allocations: 0 / 1.296 GB, free: 7.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9122, allocations: 0 / 1.296 GB, free: 7.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.9122, allocations: 1.188 kB / 1.296 GB, free: 7.957 MB / 1.014 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.002867/0.9151, allocations: 1.742 MB / 1.297 GB, free: 6.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9152, allocations: 10.44 kB / 1.297 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.9153, allocations: 136.2 kB / 1.298 GB, free: 6.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.916, allocations: 211.7 kB / 1.298 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.9181, allocations: 1.113 MB / 1.299 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.9182, allocations: 62.28 kB / 1.299 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.9183, allocations: 87.03 kB / 1.299 GB, free: 5.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.9202, allocations: 0.9999 MB / 1.3 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.9202, allocations: 10.5 kB / 1.3 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.9203, allocations: 37.12 kB / 1.3 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.9203, allocations: 22.41 kB / 1.3 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.9219, allocations: 0.6444 MB / 1.301 GB, free: 5.109 MB / 1.014 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.005645/0.9276, allocations: 4.744 MB / 1.305 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.9288, allocations: 406.3 kB / 1.306 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.9294, allocations: 216.2 kB / 1.306 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009951/0.9304, allocations: 1.147 MB / 1.307 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.9304, allocations: 37.42 kB / 1.307 GB, free: 15.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.9304, allocations: 0 / 1.307 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.003086/0.9335, allocations: 1.078 MB / 1.308 GB, free: 15.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.9336, allocations: 58.69 kB / 1.308 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.9349, allocations: 0.9807 MB / 1.309 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.935, allocations: 32.36 kB / 1.309 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.9355, allocations: 0.5959 MB / 1.31 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9356, allocations: 103.2 kB / 1.31 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.9358, allocations: 115.9 kB / 1.31 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.936, allocations: 328.6 kB / 1.31 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/0.9365, allocations: 195.1 kB / 1.31 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007603/0.9373, allocations: 412.5 kB / 1.311 GB, free: 13.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.9386, allocations: 0.5917 MB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9386, allocations: 3.281 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001798/0.9404, allocations: 0.7589 MB / 1.312 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9405, allocations: 7.953 kB / 1.312 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.9405, allocations: 15.09 kB / 1.312 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/0.9412, allocations: 152.2 kB / 1.312 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.9418, allocations: 153.2 kB / 1.312 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.9431, allocations: 1.721 MB / 1.314 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.9439, allocations: 91.7 kB / 1.314 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.944, allocations: 29.3 kB / 1.314 GB, free: 11 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.9444, allocations: 268 kB / 1.314 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.9446, allocations: 117.2 kB / 1.315 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.9465, allocations: 0.7219 MB / 1.315 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.9465, allocations: 8.969 kB / 1.315 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.9465, allocations: 4.656 kB / 1.315 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.9466, allocations: 1.781 kB / 1.315 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.9497, allocations: 1.635 MB / 1.317 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9497, allocations: 1.375 kB / 1.317 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.9502, allocations: 98.98 kB / 1.317 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005821/0.9508, allocations: 145.8 kB / 1.317 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.9509, allocations: 19.14 kB / 1.317 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.9521, allocations: 1.702 MB / 1.319 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.9521, allocations: 5.469 kB / 1.319 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.9538, allocations: 0.789 MB / 1.32 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.9543, allocations: 250.7 kB / 1.32 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.9544, allocations: 9.203 kB / 1.32 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.955, allocations: 46.39 kB / 1.32 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.9551, allocations: 30.77 kB / 1.32 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.9552, allocations: 21.94 kB / 1.32 GB, free: 7.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009806/0.9562, allocations: 0.6597 MB / 1.321 GB, free: 7.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.154e-06/0.9562, allocations: 0 / 1.321 GB, free: 7.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001174/0.9574, allocations: 380 kB / 1.321 GB, free: 6.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00287/0.9602, allocations: 1.643 MB / 1.323 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.9619, allocations: 0.5475 MB / 1.323 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.962, allocations: 1.281 kB / 1.323 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.9628, allocations: 294.1 kB / 1.323 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.9654, allocations: 0.5214 MB / 1.324 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.9783, allocations: 7.329 MB / 1.331 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/0.9792, allocations: 1.102 MB / 1.332 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008427/0.9801, allocations: 192.9 kB / 1.332 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.9807, allocations: 418.1 kB / 1.333 GB, free: 420 kB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/0.9807, allocations: 0 / 1.333 GB, free: 420 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/1.044, allocations: 29.52 MB / 1.362 GB, free: 3.516 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.29, allocations: 7.062 kB / 1.362 GB, free: 3.512 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches